srand(s) resets the random number generator seed to the scalar s. If the argument s is missing, the seed is initialized using the C library time() routine.