aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-13 12:38:31 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-13 12:38:31 -0700
commit673ea2ec24decdcfd5321f13dd68603b158dc5c5 (patch)
tree3d987c45b45fd95a4c89c9de715abbed19091a60 /system
parent4db73843b367c57ad900a739bf8dec5f1799552c (diff)
parent49e6272b097fc930717998213d5c52c96fd6e3e6 (diff)
Merge pull request #1372 from inolen/dirent_fixes
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,