Add basic support for mini2440 board to barebox.
[barebox-mini2440.git] / include / stdlib.h
blobdc720132e84c294f154354b72e5f7ab807e8558f
1 #ifndef __STDLIB_H
2 #define __STDLIB_H
4 #define RAND_MAX 32767
6 /* return a pseudo-random integer in the range [0, RAND_MAX] */
7 unsigned int rand(void);
9 /* set the seed for rand () */
10 void srand(unsigned int seed);
12 /* fill a buffer with pseudo-random data */
13 void get_random_bytes(char *buf, int len);
16 #endif /* __STDLIB_H */