From d9be14e1fb1b8bf768710f407183ea360a40caef Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 11 May 2023 01:42:52 +0300 Subject: [PATCH] LibC: add function declarations to dirent.h --- libc/include/dirent.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libc/include/dirent.h b/libc/include/dirent.h index 2d6966f0e2..94e742ac18 100644 --- a/libc/include/dirent.h +++ b/libc/include/dirent.h @@ -12,4 +12,16 @@ struct dirent char d_name[]; }; +int alphasort(const struct dirent**, const struct dirent**); +int closedir(DIR*); +int dirfd(DIR*); +DIR* fdopendir(int); +DIR* opendir(const char*); +struct dirent* readdir(DIR*); +int readdir_r(DIR*, struct dirent*, struct dirent**); +void rewinddir(DIR*); +int scandir(const char*, struct dirent***, int (*)(const struct dirent*), int (*)(const struct dirent**, const struct dirent**)); +void seekdir(DIR*, long); +long telldir(DIR*); + __END_DECLS \ No newline at end of file