Home --> Documentations --> PJLIB Reference
|void||pj_srand (unsigned int seed)|
This module contains functions for generating random numbers. This abstraction is needed not only because not all platforms have rand() and srand(), but also on some platforms rand() only has 16-bit randomness, which is not good enough.
Generate random integer with 32bit randomness.
|void pj_srand||(||unsigned int||seed||)|
Put in seed to random number generator.