kern
view src/klibc/string.h @ 97:8717eb590727
ok stopping with the filesystem to manage to write the article in time
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 17 Dec 2011 14:09:17 +0200 |
parents | ebca81749ef5 |
children |
line source
1 #ifndef STRING_H_
2 #define STRING_H_
4 #include <stdlib.h>
6 void memset(void *s, int c, size_t n);
7 void memset16(void *s, int c, size_t n);
9 void *memcpy(void *dest, const void *src, size_t n);
10 void *memmove(void *dest, const void *src, size_t n);
12 size_t strlen(const char *s);
14 char *strchr(const char *s, int c);
15 char *strrchr(const char *s, int c);
17 char *strstr(const char *str, const char *substr);
19 int strcmp(const char *s1, const char *s2);
21 #endif /* STRING_H_ */