diff options
Diffstat (limited to 'src/user/lib/include')
-rw-r--r-- | src/user/lib/include/string.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/user/lib/include/string.h b/src/user/lib/include/string.h index eda4e48..5cddb61 100644 --- a/src/user/lib/include/string.h +++ b/src/user/lib/include/string.h @@ -3,3 +3,9 @@ long strtol(const char *restrict s, char **restrict end, int base); char *strchr(const char *s, int c); + +size_t strspn(const char *s, const char *accept); +size_t strcspn(const char *s, const char *reject); + +char *strtok(char *restrict s, const char *restrict sep); +char *strtok_r(char *restrict s, const char *restrict sep, char **restrict state); |