aboutsummaryrefslogtreecommitdiff
path: root/libc/include/stdlib.h
blob: 990d77a82db25d836924c9748bdaf9200f589a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* this is by no means standards-compliant... but who cares? :P */

/* NOT reentrant! */
char* itoa(int val, int base);

#define RAND_MAX ((1U << 31) - 1)

#define MIN(x,y) ((x<y)?x:y)

unsigned int rand(void);
void srand(unsigned int);
int abs(int);