summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/rand.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/rand.3')
-rw-r--r--src/lib/libc/stdlib/rand.310
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/rand.3 b/src/lib/libc/stdlib/rand.3
index c760161ba7..2fd88ac8a4 100644
--- a/src/lib/libc/stdlib/rand.3
+++ b/src/lib/libc/stdlib/rand.3
@@ -29,9 +29,9 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: rand.3,v 1.18 2014/12/08 21:45:20 deraadt Exp $ 32.\" $OpenBSD: rand.3,v 1.19 2014/12/09 21:55:39 jmc Exp $
33.\" 33.\"
34.Dd $Mdocdate: December 8 2014 $ 34.Dd $Mdocdate: December 9 2014 $
35.Dt RAND 3 35.Dt RAND 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -66,7 +66,7 @@ In
66the 66the
67.Ar seed 67.Ar seed
68variable is ignored, and strong random number results will be provided from 68variable is ignored, and strong random number results will be provided from
69.Xr arc4random 3. 69.Xr arc4random 3 .
70In other systems, the 70In other systems, the
71.Ar seed 71.Ar seed
72variable primes a simplistic deterministic algorithm. 72variable primes a simplistic deterministic algorithm.
@@ -120,7 +120,9 @@ intentionally.
120.Pp 120.Pp
121The 121The
122.Fn srand_deterministic 122.Fn srand_deterministic
123function is an OpenBSD extension. 123function is an
124.Ox
125extension.
124.Sh HISTORY 126.Sh HISTORY
125The functions 127The functions
126.Fn rand 128.Fn rand