os_kernel_lab/labcodes/lab3/libs/stdlib.h

13 lines
226 B
C
Raw Normal View History

2012-08-22 12:32:13 +08:00
#ifndef __LIBS_STDLIB_H__
#define __LIBS_STDLIB_H__
/* the largest number rand will return */
#define RAND_MAX 2147483647UL
/* libs/rand.c */
int rand(void);
void srand(unsigned int seed);
#endif /* !__LIBS_RAND_H__ */