diff options
Diffstat (limited to 'src/user/lib/include')
-rw-r--r-- | src/user/lib/include/ctype.h | 8 | ||||
-rw-r--r-- | src/user/lib/include/string.h | 3 | ||||
-rw-r--r-- | src/user/lib/include/unistd.h | 1 |
3 files changed, 9 insertions, 3 deletions
diff --git a/src/user/lib/include/ctype.h b/src/user/lib/include/ctype.h new file mode 100644 index 0000000..4b15b1d --- /dev/null +++ b/src/user/lib/include/ctype.h @@ -0,0 +1,8 @@ +#pragma once + +int isalnum(int c); +int isalpha(int c); +int isdigit(int c); +int islower(int c); +int isspace(int c); +int isupper(int c); diff --git a/src/user/lib/include/string.h b/src/user/lib/include/string.h index 9e08ae5..eda4e48 100644 --- a/src/user/lib/include/string.h +++ b/src/user/lib/include/string.h @@ -1,8 +1,5 @@ #pragma once #include <shared/mem.h> -int isspace(char c); - long strtol(const char *restrict s, char **restrict end, int base); - char *strchr(const char *s, int c); diff --git a/src/user/lib/include/unistd.h b/src/user/lib/include/unistd.h index 2b75a13..9b368dc 100644 --- a/src/user/lib/include/unistd.h +++ b/src/user/lib/include/unistd.h @@ -1,5 +1,6 @@ #pragma once #include <camellia/types.h> // TODO only needed because of handle_t +#include <user/lib/vendor/getopt/getopt.h> int fork(void); int close(handle_t h); |