LibC: add function declarations to dirent.h

This commit is contained in:
Bananymous 2023-05-11 01:42:52 +03:00
parent 40083e4aa1
commit 1d4a6c3a42
1 changed files with 12 additions and 0 deletions

View File

@ -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