diff options
Diffstat (limited to 'src/user/lib/include/string.h')
-rw-r--r-- | src/user/lib/include/string.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/user/lib/include/string.h b/src/user/lib/include/string.h index 7235da9..cf621d5 100644 --- a/src/user/lib/include/string.h +++ b/src/user/lib/include/string.h @@ -2,12 +2,21 @@ #include <shared/mem.h> long strtol(const char *restrict s, char **restrict end, int base); +double strtod(const char *restrict s, char **restrict end); 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 *strpbrk(const char *s1, const char *s2); char *strtok(char *restrict s, const char *restrict sep); char *strtok_r(char *restrict s, const char *restrict sep, char **restrict state); int strncmp(const char *s1, const char *s2, size_t n); +int strcoll(const char *s1, const char *s2); + +char *strstr(const char *s1, const char *s2); + +char *strcpy(char *restrict s1, const char *restrict s2); + +char *strerror(int errnum); |