forked from Bananymous/banan-os
LibC: add function declarations to dirent.h
This commit is contained in:
parent
8a9f9b07e7
commit
d9be14e1fb
|
@ -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
|
Loading…
Reference in New Issue