summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>2003-11-25 23:11:54 +0000
committeritojun <itojun@NetBSD.org>2003-11-25 23:11:54 +0000
commitfd02e804ddabc3be186351e8dafa95daedb106aa (patch)
tree534ce365eb530ede958a498ede6e7bf63851cd9c /lib
parenta21fdf3b43e5c50acb67515db50a082d0ddb25bf (diff)
take "Skip a random number of ids" into consideration, correct the rotation
period number. simonb
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/randomid.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/randomid.3 b/lib/libc/gen/randomid.3
index 001c4c8f54d..626282068da 100644
--- a/lib/libc/gen/randomid.3
+++ b/lib/libc/gen/randomid.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: randomid.3,v 1.2 2003/09/10 09:16:45 wiz Exp $
+.\" $NetBSD: randomid.3,v 1.3 2003/11/25 23:11:54 itojun Exp $
.\"
.\" Copyright (C) 2003 WIDE Project.
.\" All rights reserved.
@@ -84,14 +84,14 @@ seconds have passed since the last reinitialization.
For instance,
.Fa ctx
configured to generate 16 bit data stream will reinitialize its internal state
-every 18000 calls to
+every 6000 calls to
.Fn randomid
.Po
or after
.Fa timeo
seconds
.Pc ,
-therefore the same data will not appear until after 36000 calls to
+therefore the same data will not appear until after 12000 calls to
.Fn randomid
.Po
or after 2 times