1/* srand( unsigned int ) 2 3 This file is part of the Public Domain C Library (PDCLib). 4 Permission is granted to use, modify, and / or redistribute at will. 5*/ 6 7#include <stdlib.h> 8 9#ifndef REGTEST 10 11void srand( unsigned int seed ) 12{ 13 _PDCLIB_seed = seed; 14} 15 16#endif 17 18#ifdef TEST 19#include "_PDCLIB_test.h" 20 21int main( void ) 22{ 23 /* tested in rand.c */ 24 return TEST_RESULTS; 25} 26 27#endif 28 29