aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2011-06-09 14:23:44 +0100
committerReuben Thomas <rrt@sc3d.org>2011-06-09 19:53:41 +0100
commit361cede4d08073183d3546a78763e7b62d6be9ef (patch)
treef86f63145c8dbd3a5cf99c785bfde60740d0a132 /doc
parent3140ca4db8fbc35efaf44a4dd5176bfd0d99c713 (diff)
downloadluafilesystem-361cede4d08073183d3546a78763e7b62d6be9ef.tar.gz
luafilesystem-361cede4d08073183d3546a78763e7b62d6be9ef.tar.bz2
luafilesystem-361cede4d08073183d3546a78763e7b62d6be9ef.zip
Add trivial implementation of setmode on non-Windows platforms.
Diffstat (limited to 'doc')
-rw-r--r--doc/us/manual.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/us/manual.html b/doc/us/manual.html
index a5843ed..48a8e5b 100644
--- a/doc/us/manual.html
+++ b/doc/us/manual.html
@@ -221,8 +221,8 @@ LuaFileSystem offers the following functions:
221 221
222 <dt><a name="setmode"></a><strong><code>lfs.setmode (file, mode)</code></strong></dt> 222 <dt><a name="setmode"></a><strong><code>lfs.setmode (file, mode)</code></strong></dt>
223 <dd>Sets the writing mode for a file. The mode string can be either <code>binary</code> or <code>text</code>. 223 <dd>Sets the writing mode for a file. The mode string can be either <code>binary</code> or <code>text</code>.
224 Returns the previous mode string for the file. This function is only available in Windows, so you may want to make sure that 224 Returns the previous mode string for the file. On non-Windows platforms, where the two modes are identical,
225 <code>lfs.setmode</code> exists before using it. 225 setting the mode has no effect, and the mode is always returned as <code>binary</code>.
226 </dd> 226 </dd>
227 227
228 <dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, aname])</code></strong></dt> 228 <dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, aname])</code></strong></dt>