summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2003-07-31 06:18:24 +0000
committerDavid Schultz <das@FreeBSD.org>2003-07-31 06:18:24 +0000
commit05e1bf34619e500682f21adab15232744d939ff5 (patch)
tree11d180c034ef1932f2d6427ba4da5246066e0b30
parente8d4f10982a3f3ae135560d81164023df8d335a5 (diff)
Notes
-rw-r--r--lib/libc/gen/arc4random.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/arc4random.3 b/lib/libc/gen/arc4random.3
index 42b40a692bde..27c6fd16c987 100644
--- a/lib/libc/gen/arc4random.3
+++ b/lib/libc/gen/arc4random.3
@@ -62,9 +62,11 @@ The
.Fn arc4random
function returns pseudo-random numbers in the range of 0 to
.if t 2\u\s731\s10\d\(mi1,
-.if n (2**31)\(mi1,
+.if n (2**32)\(mi1,
and therefore has twice the range of
-.Dv RAND_MAX .
+.Xr rand 3
+and
+.Xr random 3 .
.Pp
The
.Fn arc4random_stir