Is there a UNIX SVR2 random/srandom equivalent?

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Sun Jul 7 13:57:04 AEST 1985


> Does anyone know what I should use in place of random and srandom?

Lesson # 3.  Using the manual:

Look in the Permuted Index at the front of your PRM.
Under "random" we find reference to rand(3C) & rand(3F).
In Section 3, RAND(3C) describes the traditional UNIX
random number generator, and the "SEE ALSO" section
of this manual entry refers us to drand48(3C), which
describes a collection of better RNGs.



More information about the Comp.unix mailing list