summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/rand.34
-rw-r--r--lib/libc/stdlib/random.34
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3
index 4e90fcc..6db19d5 100644
--- a/lib/libc/stdlib/rand.3
+++ b/lib/libc/stdlib/rand.3
@@ -89,7 +89,7 @@ seeded with a value of 1.
The
.Fn sranddev
function initializes a seed using the
-.Xr urandom 4
+.Xr random 4
random number device which returns good random numbers,
suitable for cryptographic use.
.Pp
@@ -101,7 +101,7 @@ A pointer to the context value
must be supplied by the caller.
.Sh SEE ALSO
.Xr random 3 ,
-.Xr urandom 4
+.Xr random 4
.Sh STANDARDS
The
.Fn rand
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3
index f128a50..08a6d64 100644
--- a/lib/libc/stdlib/random.3
+++ b/lib/libc/stdlib/random.3
@@ -101,7 +101,7 @@ as the seed.
The
.Fn srandomdev
routine initialize a state array using
-.Xr urandom 4
+.Xr random 4
random number device which returns good random numbers,
suitable for cryptographic use.
Note that this particular seeding
@@ -176,7 +176,7 @@ messages are printed on the standard error output.
.Sh SEE ALSO
.Xr rand 3 ,
.Xr srand 3 ,
-.Xr urandom 4
+.Xr random 4
.Sh HISTORY
These
functions appeared in
OpenPOWER on IntegriCloud