From b6f2750ca8cd488ddda57380c5f5b03ed9facf45 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 15 Dec 2024 22:48:26 -0500 Subject: kernel: lib: Add atoi() Signed-off-by: Ian Moffett --- sys/include/lib/string.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include') diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h index 8500af2..e83f4f1 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -44,6 +44,8 @@ int memcmp(const void *s1, const void *s2, size_t n); void *memset(void *s, int c, size_t n); int strcmp(const char *s1, const char *s2); + int strncmp(const char *s1, const char *s2, size_t n); +int atoi(char *s); #endif /* !_LIB_STRING_H_ */ -- cgit v1.2.3