- summary srand command documentation
Seed the random number generator.
|| `seed` || Random number generator seed. ||
Seeds the random number generator with the passed seed. Calling srand without providing a seed will seed the generator based on the contents of /dev/urandom (if available) or else based on time() and clock() values.