diff --git a/doc/us/manual.html b/doc/us/manual.html index 86c3406..beffe03 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html @@ -104,7 +104,7 @@ LuaFileSystem offers the following functions:
lfs.attributes (filepath [, aname | atable])filepath (or nil followed by an error message
+ filepath (or nil followed by an error message and a system-dependent error code
in case of error).
If the second optional argument is given and is a string, then only the value of the
named attribute is returned (this use is equivalent to
@@ -222,14 +222,14 @@ LuaFileSystem offers the following functions:
lfs.mkdir (dirname)true if the operation was successful;
- in case of error, it returns nil plus an error string.
+ Returns true in case of success or nil, an error message and
+ a system-dependent error code in case of error.
lfs.rmdir (dirname)true if the operation was successful;
- in case of error, it returns nil plus an error string.true in case of success or nil, an error message and
+ a system-dependent error code in case of error.
lfs.setmode (file, mode)"binary" or "text".
@@ -255,8 +255,8 @@ LuaFileSystem offers the following functions:
Lua standard function os.time).
If the modification time is omitted, the access time provided is used;
if both times are omitted, the current time is used.true if the operation was successful;
- in case of error, it returns nil plus an error string.
+ Returns true in case of success or nil, an error message and
+ a system-dependent error code in case of error.
lfs.unlock (filehandle[, start[, length]])