1#include <stdlib.h> 2#include <stdint.h> 3 4void srand(unsigned s) 5{ 6 return srandom(s); 7} 8 9int rand(void) 10{ 11 return random(); 12}