webmcp
changeset 345:546ec50e7170
Fixed documentation of extos.listdir(...), which was wrong
author | jbe |
---|---|
date | Thu Mar 26 02:16:26 2015 +0100 (2015-03-26) |
parents | 985ffb3ef69f |
children | b5c8a6ed53d4 |
files | libraries/extos/extos.autodoc.lua |
line diff
1.1 --- a/libraries/extos/extos.autodoc.lua Thu Mar 26 02:11:59 2015 +0100 1.2 +++ b/libraries/extos/extos.autodoc.lua Thu Mar 26 02:16:26 2015 +0100 1.3 @@ -57,12 +57,13 @@ 1.4 1.5 1.6 --[[-- 1.7 -directory_entries = -- table of directory entries 1.8 -extos.listdir{ 1.9 - path = path -- path name 1.10 -} 1.11 +directory_entries, -- table of directory entries 1.12 +errmsg = -- error message if directory could not be read 1.13 +extos.listdir( 1.14 + path -- path name 1.15 +) 1.16 1.17 -This function returns a table containing strings representing each entry in a directory. On error nil and an error message is returned. 1.18 +This function returns a table containing strings representing each entry in a directory. On error nil and an error message are returned. 1.19 1.20 --]]-- 1.21 -- implemented in extos.c as