kern
view src/klibc/stdlib.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 | bdd9bf70269d |
children |
line source
1 #ifndef STDLIB_H_
2 #define STDLIB_H_
4 #include <inttypes.h>
6 typedef int32_t ssize_t;
7 typedef uint32_t size_t;
9 int atoi(const char *str);
10 long atol(const char *str);
11 long strtol(const char *str, char **endp, int base);
13 void itoa(int val, char *buf, int base);
14 void utoa(unsigned int val, char *buf, int base);
16 /* defined in malloc.c */
17 void *malloc(size_t sz);
18 void free(void *ptr);
20 #endif /* STDLIB_H_ */