kern

annotate src/klibc/stdlib.h @ 21:3ba93d8f586c

now ignoring parts of the memory map beyond 4gb instead of silently wrapping around and marking all holes as usable :)
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 03 Apr 2011 08:23:07 +0300 (2011-04-03)
parents 662ff2170531
children bdd9bf70269d
rev   line source
nuclear@0 1 #ifndef STDLIB_H_
nuclear@0 2 #define STDLIB_H_
nuclear@0 3
nuclear@0 4 #include <inttypes.h>
nuclear@0 5
nuclear@0 6 typedef int32_t ssize_t;
nuclear@0 7 typedef uint32_t size_t;
nuclear@0 8
nuclear@5 9 int atoi(const char *str);
nuclear@5 10 long atol(const char *str);
nuclear@5 11
nuclear@5 12 void itoa(int val, char *buf, int base);
nuclear@5 13 void utoa(unsigned int val, char *buf, int base);
nuclear@5 14
nuclear@0 15 #endif /* STDLIB_H_ */