summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2014-12-09 21:55:39 +0000
committerjmc <>2014-12-09 21:55:39 +0000
commit760780ff2febbe89bdf24a72d3d96de9016fa52b (patch)
treeaaa98200fc90d6cb272d55ab31c8c105ca573860
parent2de55db591b79132a0d31ddc29a25b10a8a549b0 (diff)
downloadopenbsd-760780ff2febbe89bdf24a72d3d96de9016fa52b.tar.gz
openbsd-760780ff2febbe89bdf24a72d3d96de9016fa52b.tar.bz2
openbsd-760780ff2febbe89bdf24a72d3d96de9016fa52b.zip
Xr and Ox fixes;
-rw-r--r--src/lib/libc/stdlib/rand.310
-rw-r--r--src/lib/libc/stdlib/rand48.310
-rw-r--r--src/lib/libc/stdlib/random.310
3 files changed, 18 insertions, 12 deletions
diff --git a/src/lib/libc/stdlib/rand.3 b/src/lib/libc/stdlib/rand.3
index c760161ba7..2fd88ac8a4 100644
--- a/src/lib/libc/stdlib/rand.3
+++ b/src/lib/libc/stdlib/rand.3
@@ -29,9 +29,9 @@
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: rand.3,v 1.18 2014/12/08 21:45:20 deraadt Exp $ 32.\" $OpenBSD: rand.3,v 1.19 2014/12/09 21:55:39 jmc Exp $
33.\" 33.\"
34.Dd $Mdocdate: December 8 2014 $ 34.Dd $Mdocdate: December 9 2014 $
35.Dt RAND 3 35.Dt RAND 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -66,7 +66,7 @@ In
66the 66the
67.Ar seed 67.Ar seed
68variable is ignored, and strong random number results will be provided from 68variable is ignored, and strong random number results will be provided from
69.Xr arc4random 3. 69.Xr arc4random 3 .
70In other systems, the 70In other systems, the
71.Ar seed 71.Ar seed
72variable primes a simplistic deterministic algorithm. 72variable primes a simplistic deterministic algorithm.
@@ -120,7 +120,9 @@ intentionally.
120.Pp 120.Pp
121The 121The
122.Fn srand_deterministic 122.Fn srand_deterministic
123function is an OpenBSD extension. 123function is an
124.Ox
125extension.
124.Sh HISTORY 126.Sh HISTORY
125The functions 127The functions
126.Fn rand 128.Fn rand
diff --git a/src/lib/libc/stdlib/rand48.3 b/src/lib/libc/stdlib/rand48.3
index dce8c0dd18..a7c7fe3393 100644
--- a/src/lib/libc/stdlib/rand48.3
+++ b/src/lib/libc/stdlib/rand48.3
@@ -9,9 +9,9 @@
9.\" of any kind. I shall in no event be liable for anything that happens 9.\" of any kind. I shall in no event be liable for anything that happens
10.\" to anyone/anything when using this software. 10.\" to anyone/anything when using this software.
11.\" 11.\"
12.\" $OpenBSD: rand48.3,v 1.17 2014/12/08 21:45:20 deraadt Exp $ 12.\" $OpenBSD: rand48.3,v 1.18 2014/12/09 21:55:39 jmc Exp $
13.\" 13.\"
14.Dd $Mdocdate: December 8 2014 $ 14.Dd $Mdocdate: December 9 2014 $
15.Dt RAND48 3 15.Dt RAND48 3
16.Os 16.Os
17.Sh NAME 17.Sh NAME
@@ -73,7 +73,7 @@ In
73the 73the
74seeding parameters are ignored, and strong random number results will be 74seeding parameters are ignored, and strong random number results will be
75provided from 75provided from
76.Xr arc4random 3. 76.Xr arc4random 3 .
77In other systems, the 77In other systems, the
78parameters prime a simplistic deterministic algorithm. 78parameters prime a simplistic deterministic algorithm.
79.Pp 79.Pp
@@ -233,6 +233,8 @@ The
233.Fn srand48_deterministic , 233.Fn srand48_deterministic ,
234and 234and
235.Fn lcong48_deterministic 235.Fn lcong48_deterministic
236functions are OpenBSD extensions. 236functions are
237.Ox
238extensions.
237.Sh AUTHORS 239.Sh AUTHORS
238.An Martin Birgmeier 240.An Martin Birgmeier
diff --git a/src/lib/libc/stdlib/random.3 b/src/lib/libc/stdlib/random.3
index ad92b60387..020c72805f 100644
--- a/src/lib/libc/stdlib/random.3
+++ b/src/lib/libc/stdlib/random.3
@@ -25,9 +25,9 @@
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE. 26.\" SUCH DAMAGE.
27.\" 27.\"
28.\" $OpenBSD: random.3,v 1.27 2014/12/08 21:45:20 deraadt Exp $ 28.\" $OpenBSD: random.3,v 1.28 2014/12/09 21:55:39 jmc Exp $
29.\" 29.\"
30.Dd $Mdocdate: December 8 2014 $ 30.Dd $Mdocdate: December 9 2014 $
31.Dt RANDOM 3 31.Dt RANDOM 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -70,7 +70,7 @@ In
70the 70the
71.Ar seed 71.Ar seed
72variable is ignored, and strong random number results will be provided from 72variable is ignored, and strong random number results will be provided from
73.Xr arc4random 3. 73.Xr arc4random 3 .
74In other systems, the 74In other systems, the
75.Ar seed 75.Ar seed
76variable primes a simplistic deterministic algorithm. 76variable primes a simplistic deterministic algorithm.
@@ -183,7 +183,9 @@ function is an extension.
183.Pp 183.Pp
184The 184The
185.Fn srandom_deterministic 185.Fn srandom_deterministic
186function is an OpenBSD extension. 186function is an
187.Ox
188extension.
187.Sh HISTORY 189.Sh HISTORY
188These 190These
189functions appeared in 191functions appeared in