kern

view src/klibc/string.h @ 6:7e40f14617ed

forgot to add stdarg.h and stdlib.c
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 13 Jan 2011 20:24:10 +0200
parents 86781ef20689
children ebca81749ef5
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 #endif /* STRING_H_ */