summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-07 02:31:03 +0000
committerdd <dd@FreeBSD.org>2001-06-07 02:31:03 +0000
commit075fc28fc809851403ccba3ac0d1cf90cf111dd7 (patch)
tree9bfd1fd9e68aec075c695d00211ccde8a2ad8377 /lib
parent126158251a6a5564192b31f85402e335765cf8de (diff)
downloadFreeBSD-src-075fc28fc809851403ccba3ac0d1cf90cf111dd7.zip
FreeBSD-src-075fc28fc809851403ccba3ac0d1cf90cf111dd7.tar.gz
urandom(4) -> random(4)
PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Approved by: markm
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