diff options
author | dzwdz | 2023-08-14 18:51:07 +0200 |
---|---|---|
committer | dzwdz | 2023-08-14 18:51:07 +0200 |
commit | 642b5fb0007b64c77d186fcb018d571152ee1d47 (patch) | |
tree | 1c466461f3602d306be309a053edae558ef2568e /src/user/lib/include/string.h | |
parent | 8050069c57b729c18c19b1a03ab6e4bf63b4735e (diff) |
reorganization: first steps
Diffstat (limited to 'src/user/lib/include/string.h')
-rw-r--r-- | src/user/lib/include/string.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/user/lib/include/string.h b/src/user/lib/include/string.h deleted file mode 100644 index 78bed9b..0000000 --- a/src/user/lib/include/string.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once -#include <shared/mem.h> -#include <strings.h> /* work around bad include in dash */ - -char *strchr(const char *s, int c); -char *strrchr(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 *strncpy(char *restrict s1, const char *restrict s2, size_t n); -char *stpncpy(char *restrict dst, const char *restrict src, size_t n); -char *strdup(const char *s); - -char *strerror(int errnum); |