diff options
author | Ian Moffett <ian@osmora.org> | 2024-12-15 22:48:26 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-12-15 22:48:26 -0500 |
commit | b6f2750ca8cd488ddda57380c5f5b03ed9facf45 (patch) | |
tree | fc9f3db6552ff307b9dfcab0220c9b5f4f76c658 /sys/include/lib | |
parent | 649d310cba6a7b666f2862bc8c72a19c3e183eea (diff) |
kernel: lib: Add atoi()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/lib')
-rw-r--r-- | sys/include/lib/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
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_ */ |