diff options
Diffstat (limited to 'lib/libc/stdlib/random.3')
| -rw-r--r-- | lib/libc/stdlib/random.3 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3 index 867244d99ef..e0b745b214d 100644 --- a/lib/libc/stdlib/random.3 +++ b/lib/libc/stdlib/random.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: random.3,v 1.15 2002/02/07 09:24:07 ross Exp $ +.\" $NetBSD: random.3,v 1.16 2002/10/01 17:29:23 wiz Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -112,9 +112,11 @@ the nearest known amount. Using less than 8 bytes will cause an error). The seed for the initialization (which specifies a starting point for the random number sequence, and provides for restarting at the same -point) is also an argument. The state array passed to +point) is also an argument. +The state array passed to .Fn initstate -must be aligned to a 32-bit boundary. This can be achieved by using +must be aligned to a 32-bit boundary. +This can be achieved by using a suitably-sized array of ints, and casting the array to char * when passing it to .Fn initstate . |
