Browse Source

Xr and Ox fixes;

OPENBSD_5_7
jmc 10 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 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt RAND 3
.Os .Os
.Sh NAME .Sh NAME
@ -66,7 +66,7 @@ In
the the
.Ar seed .Ar seed
variable is ignored, and strong random number results will be provided from variable is ignored, and strong random number results will be provided from
.Xr arc4random 3.
.Xr arc4random 3 .
In other systems, the In other systems, the
.Ar seed .Ar seed
variable primes a simplistic deterministic algorithm. variable primes a simplistic deterministic algorithm.
@ -120,7 +120,9 @@ intentionally.
.Pp .Pp
The The
.Fn srand_deterministic .Fn srand_deterministic
function is an OpenBSD extension.
function is an
.Ox
extension.
.Sh HISTORY .Sh HISTORY
The functions The functions
.Fn rand .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 .\" of any kind. I shall in no event be liable for anything that happens
.\" to anyone/anything when using this software. .\" 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 .Dt RAND48 3
.Os .Os
.Sh NAME .Sh NAME
@ -73,7 +73,7 @@ In
the the
seeding parameters are ignored, and strong random number results will be seeding parameters are ignored, and strong random number results will be
provided from provided from
.Xr arc4random 3.
.Xr arc4random 3 .
In other systems, the In other systems, the
parameters prime a simplistic deterministic algorithm. parameters prime a simplistic deterministic algorithm.
.Pp .Pp
@ -233,6 +233,8 @@ The
.Fn srand48_deterministic , .Fn srand48_deterministic ,
and and
.Fn lcong48_deterministic .Fn lcong48_deterministic
functions are OpenBSD extensions.
functions are
.Ox
extensions.
.Sh AUTHORS .Sh AUTHORS
.An Martin Birgmeier .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 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt RANDOM 3
.Os .Os
.Sh NAME .Sh NAME
@ -70,7 +70,7 @@ In
the the
.Ar seed .Ar seed
variable is ignored, and strong random number results will be provided from variable is ignored, and strong random number results will be provided from
.Xr arc4random 3.
.Xr arc4random 3 .
In other systems, the In other systems, the
.Ar seed .Ar seed
variable primes a simplistic deterministic algorithm. variable primes a simplistic deterministic algorithm.
@ -183,7 +183,9 @@ function is an extension.
.Pp .Pp
The The
.Fn srandom_deterministic .Fn srandom_deterministic
function is an OpenBSD extension.
function is an
.Ox
extension.
.Sh HISTORY .Sh HISTORY
These These
functions appeared in functions appeared in


Loading…
Cancel
Save