Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn) Newsgroups: net.unix Subject: Re: Is there a UNIX SVR2 random/srandom equivalent? Message-ID: <11392@brl-tgr.ARPA> Date: Sat, 6-Jul-85 23:57:04 EDT Article-I.D.: brl-tgr.11392 Posted: Sat Jul 6 23:57:04 1985 Date-Received: Mon, 8-Jul-85 05:31:07 EDT References: <1244@hound.UUCP> Organization: Ballistic Research Lab Lines: 10 > 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.