diff options
author | tomas <tomas> | 2004-11-01 15:27:13 +0000 |
---|---|---|
committer | tomas <tomas> | 2004-11-01 15:27:13 +0000 |
commit | 4d5d1e75fa5950b39873b46b3ab21fd39028e4f1 (patch) | |
tree | e2597be505a2ddaa87479c4549f8a51bf93a6ff1 /doc | |
parent | 3219f4618df9fa4f4a54d2d3bcc116380bafa217 (diff) | |
download | luafilesystem-4d5d1e75fa5950b39873b46b3ab21fd39028e4f1.tar.gz luafilesystem-4d5d1e75fa5950b39873b46b3ab21fd39028e4f1.tar.bz2 luafilesystem-4d5d1e75fa5950b39873b46b3ab21fd39028e4f1.zip |
Pequenas correcoes nos valores de retorno de algumas funcoes.
Acrescimo do arquivo de testes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/us/manual.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/us/manual.html b/doc/us/manual.html index ae20fcc..5ca685d 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html | |||
@@ -62,6 +62,8 @@ LuaFileSystem offers the following functions: | |||
62 | <li> <b><tt>lfs.chdir (path)</tt></b> <br> | 62 | <li> <b><tt>lfs.chdir (path)</tt></b> <br> |
63 | Changes the current | 63 | Changes the current |
64 | working directory to the given <tt>path</tt>. | 64 | working directory to the given <tt>path</tt>. |
65 | Returns <tt>true</tt> in case of success or <tt>nil</tt> plus an error | ||
66 | string. | ||
65 | 67 | ||
66 | <a name="getcwd"></a> | 68 | <a name="getcwd"></a> |
67 | <li> <b><tt>lfs.currentdir ()</tt></b> <br> | 69 | <li> <b><tt>lfs.currentdir ()</tt></b> <br> |
@@ -83,14 +85,14 @@ LuaFileSystem offers the following functions: | |||
83 | The optional arguments <code>start</code> and <code>length</code> can be | 85 | The optional arguments <code>start</code> and <code>length</code> can be |
84 | used to specify a starting point and its length; | 86 | used to specify a starting point and its length; |
85 | both should be numbers. | 87 | both should be numbers. |
86 | This function returns a boolean indicating if the operation was successful; | 88 | Returns a boolean indicating if the operation was successful; |
87 | in case of error, it returns <code>false</code> plus a string describing the | 89 | in case of error, it returns <code>false</code> plus an error string. |
88 | error. | ||
89 | 90 | ||
90 | <a name="mkdir"></a> | 91 | <a name="mkdir"></a> |
91 | <li> <b><tt>lfs.mkdir (dirname)</tt></b> <br> | 92 | <li> <b><tt>lfs.mkdir (dirname)</tt></b> <br> |
92 | Creates a new directory. | 93 | Creates a new directory. |
93 | The argument is the name of the new directory. | 94 | The argument is the name of the new directory. |
95 | Returns a boolean indicating whether the operation succeeds or not. | ||
94 | 96 | ||
95 | <a name="unlock"></a> | 97 | <a name="unlock"></a> |
96 | <li> <b><tt>lfs.unlock (filehandle[, start[, length]])</tt></b> <br> | 98 | <li> <b><tt>lfs.unlock (filehandle[, start[, length]])</tt></b> <br> |
@@ -165,7 +167,7 @@ attrdir (".") | |||
165 | 167 | ||
166 | <hr> | 168 | <hr> |
167 | <small> | 169 | <small> |
168 | $Id: manual.html,v 1.4 2004/10/29 16:15:59 tomas Exp $ | 170 | $Id: manual.html,v 1.5 2004/11/01 15:27:13 tomas Exp $ |
169 | </small> | 171 | </small> |
170 | 172 | ||
171 | </body> | 173 | </body> |