kern

diff src/klibc/string.h @ 5:633e35c64772

- added printf family in stdio.c - added atoi/atol in stdlib.c - added nonstandard itoa/utoa in stdlib.c - added strlen/strchr/strrchr in string.c
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Dec 2010 15:07:07 +0200
parents 86781ef20689
children ebca81749ef5
line diff
     1.1 --- a/src/klibc/string.h	Fri Dec 10 03:44:34 2010 +0200
     1.2 +++ b/src/klibc/string.h	Sun Dec 19 15:07:07 2010 +0200
     1.3 @@ -9,4 +9,9 @@
     1.4  void *memcpy(void *dest, const void *src, size_t n);
     1.5  void *memmove(void *dest, const void *src, size_t n);
     1.6  
     1.7 +size_t strlen(const char *s);
     1.8 +
     1.9 +char *strchr(const char *s, int c);
    1.10 +char *strrchr(const char *s, int c);
    1.11 +
    1.12  #endif	/* STRING_H_ */