diff options
author | dzwdz | 2023-06-08 19:52:43 +0200 |
---|---|---|
committer | dzwdz | 2023-06-08 19:52:43 +0200 |
commit | 668655053911072741883fd258c23e9d0668a853 (patch) | |
tree | 182d76120ba9a31926614f190237c5eac998b3a6 /src/user/lib/include/stdlib.h | |
parent | 8c1d2e29b9ef3472b46d6997ffde5ca38afdb5f3 (diff) |
libc: move the strto* functions to stdlib.h, where they "belong"
Diffstat (limited to 'src/user/lib/include/stdlib.h')
-rw-r--r-- | src/user/lib/include/stdlib.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |