From e02cc8e4199b8570967ffac2647c98b9cd1f9640 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Thu, 31 Jul 2003 06:18:34 +0000 Subject: [PATCH] Cross-reference arc4random(3). --- lib/libc/stdlib/random.3 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3 index 28616ae048b..66ccd55f99f 100644 --- a/lib/libc/stdlib/random.3 +++ b/lib/libc/stdlib/random.3 @@ -174,6 +174,7 @@ is called with less than 8 bytes of state information, or if detects that the state information has been garbled, error messages are printed on the standard error output. .Sh SEE ALSO +.Xr arc4random 3 , .Xr rand 3 , .Xr srand 3 , .Xr random 4 @@ -189,3 +190,6 @@ The historical implementation used to have a very weak seeding; the random sequence did not vary much with the seed. The current implementation employs a better pseudo-random number generator for the initial state calculation. +.Pp +Applications requiring cryptographic quality randomness should use +.Xr arc4random 3 .