From 112eafe13c3628cad6e692179c064dbbc3be2d8b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 9 Jun 2023 17:22:31 +0200 Subject: ports/dash: stub out everything needed for dash to compile --- src/user/lib/include/stdlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/user/lib/include/stdlib.h') 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)); -- cgit v1.2.3