aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sys/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/sys/dirent.h')
-rw-r--r--system/include/libc/sys/dirent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/include/libc/sys/dirent.h b/system/include/libc/sys/dirent.h
index 1fbe2b21..9dcf34d1 100644
--- a/system/include/libc/sys/dirent.h
+++ b/system/include/libc/sys/dirent.h
@@ -26,6 +26,10 @@ long telldir(DIR *);
DIR *readdir(DIR *);
int closedir(DIR *dirp);
void rewinddir(DIR *dirp);
+int scandir(const char *dirp,
+ struct dirent ***namelist,
+ int (*filter)(const struct dirent *),
+ int (*compar)(const struct dirent **, const struct dirent **));
enum {
DT_UNKNOWN = 0,