aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAnthony Pesch <inolen@gmail.com>2013-07-12 14:01:31 -0700
committerAnthony Pesch <inolen@gmail.com>2013-07-12 14:12:04 -0700
commit49e6272b097fc930717998213d5c52c96fd6e3e6 (patch)
treef04cb8cfa4379ee1b68dc1de4c3c0c2e12edef66 /system
parentfe247614cd79a135d3145fb5e66e152b620c9025 (diff)
minor fixes to return codes of closedir, telldir
Diffstat (limited to 'system')
-rw-r--r--system/include/libc/sys/dirent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/include/libc/sys/dirent.h b/system/include/libc/sys/dirent.h
index 0d8b02b5..e6ce831e 100644
--- a/system/include/libc/sys/dirent.h
+++ b/system/include/libc/sys/dirent.h
@@ -24,6 +24,7 @@ DIR *opendir(const char *);
void seekdir(DIR *, long);
long telldir(DIR *);
DIR *readdir(DIR *);
+int readdir_r(DIR *, struct dirent *, struct dirent **);
int closedir(DIR *dirp);
void rewinddir(DIR *dirp);
int scandir(const char *dirp,