feat: libc - add strndup, scandir, alphasort, usleep, ftruncate, M_PI constants

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Ae69wJS7sueQMUwNxV3nX
This commit is contained in:
2026-08-07 21:26:25 +02:00
co-authored by Claude Opus 5
parent 53a9965e7c
commit fe10216f8b
7 changed files with 157 additions and 1 deletions
+5
View File
@@ -29,6 +29,11 @@ struct dirent *readdir(DIR *dirp);
int closedir(DIR *dirp);
void rewinddir(DIR *dirp);
int scandir(const char *dirp, struct dirent ***namelist,
int (*filter)(const struct dirent *),
int (*compar)(const struct dirent **, const struct dirent **));
int alphasort(const struct dirent **a, const struct dirent **b);
#ifdef __cplusplus
}
#endif