diff options
author | dzwdz | 2023-06-02 15:25:11 +0200 |
---|---|---|
committer | dzwdz | 2023-06-02 15:25:11 +0200 |
commit | 8fd4943b2721696f86783d22dd2e8d593a22a766 (patch) | |
tree | 2e2e664605571a07688021339a6be0f395bc62c2 /src/user/lib/include/string.h | |
parent | 51c39c73692e755596eafb0d6f732581fee3ba98 (diff) |
libc: stub out sltar's requirements
Diffstat (limited to 'src/user/lib/include/string.h')
-rw-r--r-- | src/user/lib/include/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/user/lib/include/string.h b/src/user/lib/include/string.h index 38fb0d2..7a5400c 100644 --- a/src/user/lib/include/string.h +++ b/src/user/lib/include/string.h @@ -1,7 +1,10 @@ #pragma once #include <shared/mem.h> +// TODO move strto* to stdlib.h 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); char *strchr(const char *s, int c); char *strrchr(const char *s, int c); |