From 4d5d1e75fa5950b39873b46b3ab21fd39028e4f1 Mon Sep 17 00:00:00 2001 From: tomas Date: Mon, 1 Nov 2004 15:27:13 +0000 Subject: Pequenas correcoes nos valores de retorno de algumas funcoes. Acrescimo do arquivo de testes. --- doc/us/manual.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/us/manual.html b/doc/us/manual.html index ae20fcc..5ca685d 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html @@ -62,6 +62,8 @@ LuaFileSystem offers the following functions:
  • lfs.chdir (path)
    Changes the current working directory to the given path. + Returns true in case of success or nil plus an error + string.
  • lfs.currentdir ()
    @@ -83,14 +85,14 @@ LuaFileSystem offers the following functions: The optional arguments start and length can be used to specify a starting point and its length; both should be numbers. - This function returns a boolean indicating if the operation was successful; - in case of error, it returns false plus a string describing the - error. + Returns a boolean indicating if the operation was successful; + in case of error, it returns false plus an error string.
  • lfs.mkdir (dirname)
    Creates a new directory. The argument is the name of the new directory. + Returns a boolean indicating whether the operation succeeds or not.
  • lfs.unlock (filehandle[, start[, length]])
    @@ -165,7 +167,7 @@ attrdir (".")
    -$Id: manual.html,v 1.4 2004/10/29 16:15:59 tomas Exp $ +$Id: manual.html,v 1.5 2004/11/01 15:27:13 tomas Exp $ -- cgit v1.2.3-55-g6feb