diff options
author | mpp <mpp@FreeBSD.org> | 1996-03-27 20:49:07 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-03-27 20:49:07 +0000 |
commit | 822fdcab93140306c21991b7fe837e606e75b48e (patch) | |
tree | 56c4c6b3ee0f1367c7bb50d3cb70ee35ec089c82 /lib/libc/stdlib | |
parent | cd9e381ea0b409efec3ad4c0f4633f95a1eac734 (diff) | |
download | FreeBSD-src-822fdcab93140306c21991b7fe837e606e75b48e.zip FreeBSD-src-822fdcab93140306c21991b7fe837e606e75b48e.tar.gz |
Added missing section numbers to a bunch of .Xr macros, or
converted them into .Fn macros where appropriate. Also fixed
up some minor formatting problems.
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/random.3 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3 index 84680e2..d1b8208 100644 --- a/lib/libc/stdlib/random.3 +++ b/lib/libc/stdlib/random.3 @@ -64,11 +64,16 @@ The period of this random number generator is very large, approximately .if n 16*((2**31)\(mi1). .Pp The -.Fn random Ns / Fn srandom -have (almost) the same calling sequence and initialization properties as -.Xr rand 3 Ns / Xr srand 3 . +.Fn random +and +.Fn srandom +functions have (almost) the same calling sequence and initialization properties as the +.Xr rand 3 +and +.Xr srand 3 +functions. The difference is that -.Xr rand +.Xr rand 3 produces a much less random sequence \(em in fact, the low dozen bits generated by rand go through a cyclic pattern. All the bits generated by .Fn random |