brought the code over from the amiga test
[lugburz] / src / amiga / libc / stdlib.h
1 #ifndef AMIGA_LIBC_STDLIB_H_
2 #define AMIGA_LIBC_STDLIB_H_
3
4 #include <stdint.h>
5
6 typedef int32_t ssize_t;
7 typedef uint32_t size_t;
8
9 int atoi(const char *str);
10 long atol(const char *str);
11 long strtol(const char *str, char **endp, int base);
12
13 void itoa(int val, char *buf, int base);
14 void utoa(unsigned int val, char *buf, int base);
15
16 #endif  /* AMIGA_LIBC_STDLIB_H_ */