From a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c Mon Sep 17 00:00:00 2001 From: jmc <> Date: Sat, 10 May 2003 06:48:30 +0000 Subject: typos; --- src/lib/libc/stdlib/random.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/libc/stdlib/random.3') diff --git a/src/lib/libc/stdlib/random.3 b/src/lib/libc/stdlib/random.3 index 3d4545651b..b98917a442 100644 --- a/src/lib/libc/stdlib/random.3 +++ b/src/lib/libc/stdlib/random.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: random.3,v 1.14 2001/09/06 15:04:34 mpech Exp $ +.\" $OpenBSD: random.3,v 1.15 2003/05/10 06:48:30 jmc Exp $ .\" .Dd April 19, 1991 .Dt RANDOM 3 @@ -60,7 +60,7 @@ function uses a non-linear additive feedback random number generator employing a default table of size 31 long integers to return successive pseudo-random numbers in the range from 0 to (2**31)\-1. The period of this random number generator is very large, approximately -16*((2**31)\-1. +16*((2**31)\-1). .Pp The .Fn random @@ -68,7 +68,7 @@ and .Fn srandom functions have (almost) the same calling sequence and initialization properties as -.Xr rand 3 Ns / Xr srand 3 . +.Xr rand 3 Ns / Ns Xr srand 3 . The difference is that .Xr rand produces a much less random sequence \(em in fact, the low dozen bits @@ -93,7 +93,7 @@ as the seed. .Pp The .Fn srandomdev -routine initialize a state array using the +routine initializes a state array using the .Xr arandom 4 random number device which returns good random numbers, suitable for cryptographic use. -- cgit v1.2.3-55-g6feb