|random, initstate, setstate, srandom, srandom_deterministic, srandomdev(3)||pseudo-random number generator; routines for changing generators|
|random, urandom(4)||random data source device|
|random(6)||random lines from a file or random numbers|
randomreads lines from the standard input and copies them to the standard output with a probability of 1/denominator. The default value for denominator is 2.
The options are as follows:
-eoption is specified,
randomdoes not read or write anything, and simply exits with a random exit value of 0 to denominator - 1, inclusive.
-roption guarantees that the output is unbuffered.
|May 31, 2007||OpenBSD-current|