aboutsummaryrefslogtreecommitdiff
path: root/doc/us
diff options
context:
space:
mode:
authorcarregal <carregal>2008-02-14 18:26:19 +0000
committercarregal <carregal>2008-02-14 18:26:19 +0000
commit8f943857e8060757f1395df192a61563c32e0884 (patch)
treed83d9a41436298840bd31cad3c6f3e094402b8ff /doc/us
parent80027817c3e464124dc2ec05686049fe61ef9e44 (diff)
downloadluafilesystem-8f943857e8060757f1395df192a61563c32e0884.tar.gz
luafilesystem-8f943857e8060757f1395df192a61563c32e0884.tar.bz2
luafilesystem-8f943857e8060757f1395df192a61563c32e0884.zip
Corecting the lfs.setmode signature
Diffstat (limited to 'doc/us')
-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 de96b88..0807c1d 100644
--- a/doc/us/manual.html
+++ b/doc/us/manual.html
@@ -205,7 +205,7 @@ LuaFileSystem offers the following functions:
205 Returns <code>true</code> if the operation was successful; 205 Returns <code>true</code> if the operation was successful;
206 in case of error, it returns <code>nil</code> plus an error string.</dd> 206 in case of error, it returns <code>nil</code> plus an error string.</dd>
207 207
208 <dt><a name="setmode"></a><strong><code>lfs.setmode (filepath, mode)</code></strong></dt> 208 <dt><a name="setmode"></a><strong><code>lfs.setmode (file, mode)</code></strong></dt>
209 <dd>Sets the writing mode for a file. The mode string can be either <code>binary</code> or <code>text</code>. 209 <dd>Sets the writing mode for a file. The mode string can be either <code>binary</code> or <code>text</code>.
210 Returns the previous mode string for the file. This function is only available in Windows, so you may want to make sure that 210 Returns the previous mode string for the file. This function is only available in Windows, so you may want to make sure that
211 <code>lfs.setmode</code> exists before using it. 211 <code>lfs.setmode</code> exists before using it.
@@ -248,7 +248,7 @@ LuaFileSystem offers the following functions:
248 248
249<div id="about"> 249<div id="about">
250 <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> 250 <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p>
251 <p><small>$Id: manual.html,v 1.40 2008/02/11 22:48:16 carregal Exp $</small></p> 251 <p><small>$Id: manual.html,v 1.41 2008/02/14 18:26:19 carregal Exp $</small></p>
252</div> <!-- id="about" --> 252</div> <!-- id="about" -->
253 253
254</div> <!-- id="container" --> 254</div> <!-- id="container" -->