diff --git a/index.html b/index.html index 3ed43f2..f9777a5 100644 --- a/index.html +++ b/index.html @@ -81,6 +81,14 @@ page.
Copyright © 2003 Kepler Project.
+Copyright © 2003 - 2017 Kepler Project.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff --git a/manual.html b/manual.html index f5fbaf6..3555e3d 100644 --- a/manual.html +++ b/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".
@@ -242,6 +242,8 @@ LuaFileSystem offers the following functions:
lfs.symlinkattributes (filepath [, aname])target field, containing
+ the file name that the symlink points to.
On Windows this function does not yet support links, and is identical to
lfs.attributes.
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]])