summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2014-12-09 21:55:40 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2014-12-09 21:55:40 +0000
commit4057a0f832f3a46a70e872855622beb01a748644 (patch)
tree1680b34304560501de0d1545de36d7d4987772cf /lib/libc/stdlib
parentcdf37e940502b549295235aa92d4316c2840b576 (diff)
Xr and Ox fixes;
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/rand.310
-rw-r--r--lib/libc/stdlib/rand48.310
-rw-r--r--lib/libc/stdlib/random.310
3 files changed, 18 insertions, 12 deletions
diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3
index c760161ba7b..2fd88ac8a4b 100644
--- a/lib/libc/stdlib/rand.3
+++ b/lib/libc/stdlib/rand.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: rand.3,v 1.18 2014/12/08 21:45:20 deraadt Exp $
+.\" $OpenBSD: rand.3,v 1.19 2014/12/09 21:55:39 jmc Exp $
.\"
-.Dd $Mdocdate: December 8 2014 $
+.Dd $Mdocdate: December 9 2014 $
.Dt RAND 3
.Os
.Sh NAME
@@ -66,7 +66,7 @@ In
the
.Ar seed
variable is ignored, and strong random number results will be provided from
-.Xr arc4random 3.
+.Xr arc4random 3 .
In other systems, the
.Ar seed
variable primes a simplistic deterministic algorithm.
@@ -120,7 +120,9 @@ intentionally.
.Pp
The
.Fn srand_deterministic
-function is an OpenBSD extension.
+function is an
+.Ox
+extension.
.Sh HISTORY
The functions
.Fn rand
diff --git a/lib/libc/stdlib/rand48.3 b/lib/libc/stdlib/rand48.3
index dce8c0dd188..a7c7fe33934 100644
--- a/lib/libc/stdlib/rand48.3
+++ b/lib/libc/stdlib/rand48.3
@@ -9,9 +9,9 @@
.\" of any kind. I shall in no event be liable for anything that happens
.\" to anyone/anything when using this software.
.\"
-.\" $OpenBSD: rand48.3,v 1.17 2014/12/08 21:45:20 deraadt Exp $
+.\" $OpenBSD: rand48.3,v 1.18 2014/12/09 21:55:39 jmc Exp $
.\"
-.Dd $Mdocdate: December 8 2014 $
+.Dd $Mdocdate: December 9 2014 $
.Dt RAND48 3
.Os
.Sh NAME
@@ -73,7 +73,7 @@ In
the
seeding parameters are ignored, and strong random number results will be
provided from
-.Xr arc4random 3.
+.Xr arc4random 3 .
In other systems, the
parameters prime a simplistic deterministic algorithm.
.Pp
@@ -233,6 +233,8 @@ The
.Fn srand48_deterministic ,
and
.Fn lcong48_deterministic
-functions are OpenBSD extensions.
+functions are
+.Ox
+extensions.
.Sh AUTHORS
.An Martin Birgmeier
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3
index ad92b603877..020c72805f1 100644
--- a/lib/libc/stdlib/random.3
+++ b/lib/libc/stdlib/random.3
@@ -25,9 +25,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: random.3,v 1.27 2014/12/08 21:45:20 deraadt Exp $
+.\" $OpenBSD: random.3,v 1.28 2014/12/09 21:55:39 jmc Exp $
.\"
-.Dd $Mdocdate: December 8 2014 $
+.Dd $Mdocdate: December 9 2014 $
.Dt RANDOM 3
.Os
.Sh NAME
@@ -70,7 +70,7 @@ In
the
.Ar seed
variable is ignored, and strong random number results will be provided from
-.Xr arc4random 3.
+.Xr arc4random 3 .
In other systems, the
.Ar seed
variable primes a simplistic deterministic algorithm.
@@ -183,7 +183,9 @@ function is an extension.
.Pp
The
.Fn srandom_deterministic
-function is an OpenBSD extension.
+function is an
+.Ox
+extension.
.Sh HISTORY
These
functions appeared in