kern
diff src/klibc/stdlib.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 | 662ff2170531 |
children | bdd9bf70269d |
line diff
1.1 --- a/src/klibc/stdlib.h Fri Dec 10 03:44:34 2010 +0200 1.2 +++ b/src/klibc/stdlib.h Sun Dec 19 15:07:07 2010 +0200 1.3 @@ -6,4 +6,10 @@ 1.4 typedef int32_t ssize_t; 1.5 typedef uint32_t size_t; 1.6 1.7 +int atoi(const char *str); 1.8 +long atol(const char *str); 1.9 + 1.10 +void itoa(int val, char *buf, int base); 1.11 +void utoa(unsigned int val, char *buf, int base); 1.12 + 1.13 #endif /* STDLIB_H_ */