diff options
author | dzwdz | 2023-06-09 17:22:31 +0200 |
---|---|---|
committer | dzwdz | 2023-06-09 17:22:31 +0200 |
commit | 112eafe13c3628cad6e692179c064dbbc3be2d8b (patch) | |
tree | 04bdb3df2d2e6fd7042dbefa117ff0e5a5447476 /src/user/lib/include/stdlib.h | |
parent | 668655053911072741883fd258c23e9d0668a853 (diff) |
ports/dash: stub out everything needed for dash to compile
Diffstat (limited to 'src/user/lib/include/stdlib.h')
-rw-r--r-- | src/user/lib/include/stdlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/user/lib/include/stdlib.h b/src/user/lib/include/stdlib.h index 08362b1..ee9d179 100644 --- a/src/user/lib/include/stdlib.h +++ b/src/user/lib/include/stdlib.h @@ -26,6 +26,9 @@ int atoi(const char *s); double atof(const char *s); long strtol(const char *restrict s, char **restrict end, int base); +long long strtoll(const char *restrict s, char **restrict end, int base); unsigned long strtoul(const char *restrict s, char **restrict end, int base); unsigned long long strtoull(const char *restrict s, char **restrict end, int base); double strtod(const char *restrict s, char **restrict end); + +void qsort(void *base, size_t nmemb, size_t size, int (*cmp)(const void *a, const void *b)); |