From 668655053911072741883fd258c23e9d0668a853 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 8 Jun 2023 19:52:43 +0200 Subject: libc: move the strto* functions to stdlib.h, where they "belong" --- src/user/lib/include/stdlib.h | 5 +++++ 1 file changed, 5 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 4a44bf6..08362b1 100644 --- a/src/user/lib/include/stdlib.h +++ b/src/user/lib/include/stdlib.h @@ -24,3 +24,8 @@ int abs(int i); int atoi(const char *s); double atof(const char *s); + +long strtol(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); -- cgit v1.2.3