diff options
| author | jmc <> | 2003-05-10 06:48:30 +0000 |
|---|---|---|
| committer | jmc <> | 2003-05-10 06:48:30 +0000 |
| commit | a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c (patch) | |
| tree | 22b80bac9235d6cfd7ecd40565621a27f24d5d70 /src/lib/libc/stdlib/random.3 | |
| parent | 82f8b639e5cb43bb235ee24ece27ef61cd1a03fa (diff) | |
| download | openbsd-a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c.tar.gz openbsd-a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c.tar.bz2 openbsd-a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c.zip | |
typos;
Diffstat (limited to 'src/lib/libc/stdlib/random.3')
| -rw-r--r-- | src/lib/libc/stdlib/random.3 | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ | |||
| 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: random.3,v 1.14 2001/09/06 15:04:34 mpech Exp $ | 32 | .\" $OpenBSD: random.3,v 1.15 2003/05/10 06:48:30 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd April 19, 1991 | 34 | .Dd April 19, 1991 |
| 35 | .Dt RANDOM 3 | 35 | .Dt RANDOM 3 |
| @@ -60,7 +60,7 @@ function uses a non-linear additive feedback random number generator employing | |||
| 60 | a default table of size 31 long integers to return successive pseudo-random | 60 | a default table of size 31 long integers to return successive pseudo-random |
| 61 | numbers in the range from 0 to (2**31)\-1. | 61 | numbers in the range from 0 to (2**31)\-1. |
| 62 | The period of this random number generator is very large, approximately | 62 | The period of this random number generator is very large, approximately |
| 63 | 16*((2**31)\-1. | 63 | 16*((2**31)\-1). |
| 64 | .Pp | 64 | .Pp |
| 65 | The | 65 | The |
| 66 | .Fn random | 66 | .Fn random |
| @@ -68,7 +68,7 @@ and | |||
| 68 | .Fn srandom | 68 | .Fn srandom |
| 69 | functions have (almost) the same calling sequence and initialization | 69 | functions have (almost) the same calling sequence and initialization |
| 70 | properties as | 70 | properties as |
| 71 | .Xr rand 3 Ns / Xr srand 3 . | 71 | .Xr rand 3 Ns / Ns Xr srand 3 . |
| 72 | The difference is that | 72 | The difference is that |
| 73 | .Xr rand | 73 | .Xr rand |
| 74 | produces a much less random sequence \(em in fact, the low dozen bits | 74 | produces a much less random sequence \(em in fact, the low dozen bits |
| @@ -93,7 +93,7 @@ as the seed. | |||
| 93 | .Pp | 93 | .Pp |
| 94 | The | 94 | The |
| 95 | .Fn srandomdev | 95 | .Fn srandomdev |
| 96 | routine initialize a state array using the | 96 | routine initializes a state array using the |
| 97 | .Xr arandom 4 | 97 | .Xr arandom 4 |
| 98 | random number device which returns good random numbers, | 98 | random number device which returns good random numbers, |
| 99 | suitable for cryptographic use. | 99 | suitable for cryptographic use. |
