diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-08 17:32:58 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-08 17:32:58 -0400 |
commit | 30dc467c4a51996d04b85e22c6d4d75712ed1eab (patch) | |
tree | f5ec5c37ef1f80d2cd587ec311cfc19e2fc4e07f /lib/libc/include/string.h | |
parent | 9b04abfb5e6c6ac0321841f5ebcf6ba288c61fb2 (diff) |
usr: libc: Add strtok()
Ported from OpenBSD
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include/string.h')
-rw-r--r-- | lib/libc/include/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdint.h> 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); |