From 30dc467c4a51996d04b85e22c6d4d75712ed1eab Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 8 Jul 2025 17:32:58 -0400 Subject: usr: libc: Add strtok() Ported from OpenBSD Signed-off-by: Ian Moffett --- lib/libc/include/string.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libc/include') diff --git a/lib/libc/include/string.h b/lib/libc/include/string.h index 4ac384b..8ba2b4e 100644 --- a/lib/libc/include/string.h +++ b/lib/libc/include/string.h @@ -34,6 +34,8 @@ #include size_t strlen(const char *s); +char *strtok(char *s, const char *delim); + void *memset(void *dst, int c, size_t n); int memcmp(const void *s1, const void *s2, size_t n); -- cgit v1.2.3