forked from Bananymous/banan-os
LibC: add function declarations to dirent.h
This commit is contained in:
parent
40083e4aa1
commit
1d4a6c3a42
|
@ -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