1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 14:07:45 +00:00

LibC: Add alphasort() implementation

This is a POSIX API required for the latest stress-ng port.
This commit is contained in:
Brian Gianforcaro 2021-12-27 19:26:37 -08:00 committed by Andreas Kling
parent fa5d81be7a
commit c4b1e49036
2 changed files with 7 additions and 0 deletions

View file

@ -35,6 +35,7 @@ struct dirent* readdir(DIR*);
int readdir_r(DIR*, struct dirent*, struct dirent**);
int dirfd(DIR*);
int alphasort(const struct dirent** d1, const struct dirent** d2);
int scandir(const char* dirp, struct dirent*** namelist,
int (*filter)(const struct dirent*),
int (*compar)(const struct dirent**, const struct dirent**));