《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
226 B

10 years ago
  1. #ifndef __LIBS_STDLIB_H__
  2. #define __LIBS_STDLIB_H__
  3. /* the largest number rand will return */
  4. #define RAND_MAX 2147483647UL
  5. /* libs/rand.c */
  6. int rand(void);
  7. void srand(unsigned int seed);
  8. #endif /* !__LIBS_RAND_H__ */