From 8fd4943b2721696f86783d22dd2e8d593a22a766 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 2 Jun 2023 15:25:11 +0200 Subject: libc: stub out sltar's requirements --- src/user/lib/include/string.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/user/lib/include/string.h') 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); -- cgit v1.2.3