kern
view src/klibc/stdlib.h @ 77:a6513dc35f04
- started writing disk/ata code
- made the debug script rip the commandline arguments out of the run script so I won't have to keep them in sync
- added 64bit sized types in klibc/intypes.h
- temporarily commented out the processes init from main
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 06 Dec 2011 11:56:08 +0200 |
parents | 633e35c64772 |
children | f83f50c17c3b |
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);
12 void itoa(int val, char *buf, int base);
13 void utoa(unsigned int val, char *buf, int base);
15 /* defined in malloc.c */
16 void *malloc(size_t sz);
17 void free(void *ptr);
19 #endif /* STDLIB_H_ */