diff options
Diffstat (limited to 'lib/string.h')
| -rw-r--r-- | lib/string.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/string.h b/lib/string.h new file mode 100644 index 0000000..bdcb0dd --- /dev/null +++ b/lib/string.h @@ -0,0 +1,16 @@ +#ifndef _JOVE_STRING_H +#define _JOVE_STRING_H 1 + +#include <stddef.h> + +void *memset(void *s, int c, size_t n); +void *memcpy(void *a, const void *b, size_t n); +int memcmp(const void *a, const void *b, size_t n); + +size_t strlen(const char *s); +char c_toupper(char c); +char *str_toupper(char *s, size_t n); + +int strncmp(const char *s1, const char *s2, size_t n); + +#endif |
