c/numeric/random/rand

Returns a pseudo-random integer value between and rand_max ( and  included).

srand seeds the pseudo-random number generator used by. If is used before any calls to,  behaves as if it was seeded with. Each time is seeded with, it must produce the same sequence of values.

is not guaranteed to be thread-safe.

Parameters
(none)

Return value
Pseudo-random integer value between and rand_max, inclusive.