diff --git a/doc/us/manual.html b/doc/us/manual.html index 3c5728e..80170de 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html @@ -227,8 +227,10 @@ LuaFileSystem offers the following functions: in case of error, it returns nil plus an error string.
lfs.setmode (file, mode)
-
Sets the writing mode for a file. The mode string can be either binary or text. - Returns the previous mode string for the file. On non-Windows platforms, where the two modes are identical, +
Sets the writing mode for a file. The mode string can be either "binary" or "text". + Returns true followed the previous mode string for the file, or + nil followed by an error string in case of errors. + On non-Windows platforms, where the two modes are identical, setting the mode has no effect, and the mode is always returned as binary.