Browse Source

Xr and Ox fixes;

OPENBSD_5_7
jmc 9 years ago
parent
commit
ddf1617c43
3 changed files with 18 additions and 12 deletions
  1. +6
    -4
      src/lib/libc/stdlib/rand.3
  2. +6
    -4
      src/lib/libc/stdlib/rand48.3
  3. +6
    -4
      src/lib/libc/stdlib/random.3

+ 6
- 4
src/lib/libc/stdlib/rand.3 View File

@ -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


+ 6
- 4
src/lib/libc/stdlib/rand48.3 View File

@ -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

+ 6
- 4
src/lib/libc/stdlib/random.3 View File

@ -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


Loading…
Cancel
Save