From fb8e1c0c0541c89d2a73956362ee4eb015a16101 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 29 Jun 2007 19:34:41 +0000 Subject: [PATCH] Add some useful references to various manual pages which deal with random numbers. Suggested-by: Robin Carey Dragonfly-bug: --- lib/libc/stdlib/rand.3 | 3 ++- lib/libc/stdlib/random.3 | 3 ++- usr.sbin/rndcontrol/random.4 | 9 +++++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3 index 8627fe4479..e183a1e001 100644 --- a/lib/libc/stdlib/rand.3 +++ b/lib/libc/stdlib/rand.3 @@ -35,7 +35,7 @@ .\" .\" @(#)rand.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD: src/lib/libc/stdlib/rand.3,v 1.14 2003/09/08 19:57:15 ru Exp $ -.\" $DragonFly: src/lib/libc/stdlib/rand.3,v 1.5 2006/05/26 19:39:37 swildner Exp $ +.\" $DragonFly: src/lib/libc/stdlib/rand.3,v 1.6 2007/06/29 19:34:41 swildner Exp $ .\" .Dd May 25, 1999 .Dt RAND 3 @@ -104,6 +104,7 @@ A pointer to the context value .Fa ctx must be supplied by the caller. .Sh SEE ALSO +.Xr arc4random 3 , .Xr random 3 , .Xr random 4 .Sh STANDARDS diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3 index b2089b08c4..b29549c5b6 100644 --- a/lib/libc/stdlib/random.3 +++ b/lib/libc/stdlib/random.3 @@ -31,7 +31,7 @@ .\" .\" @(#)random.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD: src/lib/libc/stdlib/random.3,v 1.11.2.6 2003/06/03 19:13:16 schweikh Exp $ -.\" $DragonFly: src/lib/libc/stdlib/random.3,v 1.4 2006/03/01 00:00:46 swildner Exp $ +.\" $DragonFly: src/lib/libc/stdlib/random.3,v 1.5 2007/06/29 19:34:41 swildner Exp $ .\" .Dd June 4, 1993 .Dt RANDOM 3 @@ -173,6 +173,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 urandom 4 diff --git a/usr.sbin/rndcontrol/random.4 b/usr.sbin/rndcontrol/random.4 index 807e4d6cf8..15e54491ac 100644 --- a/usr.sbin/rndcontrol/random.4 +++ b/usr.sbin/rndcontrol/random.4 @@ -37,7 +37,7 @@ .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $FreeBSD: src/usr.sbin/rndcontrol/random.4,v 1.9.2.2 2001/11/24 16:14:18 dd Exp $ -.\" $DragonFly: src/usr.sbin/rndcontrol/random.4,v 1.8 2006/11/19 20:24:04 swildner Exp $ +.\" $DragonFly: src/usr.sbin/rndcontrol/random.4,v 1.9 2007/06/29 19:34:41 swildner Exp $ .\" .Dd October 21, 1995 .Dt RANDOM 4 i386 @@ -138,7 +138,12 @@ and is used by .It Pa /dev/urandom .El .Sh "SEE ALSO" -.Xr srandomdev 3 , +.Xr arc4random 3 , +.Xr drand48 3 , +.Xr rand 3 , +.Xr RAND_add 3 , +.Xr RAND_bytes 3 , +.Xr random 3 , .Xr rndcontrol 8 .Sh HISTORY The -- 2.41.0