Browse Source

Ouch... recommend arc4random, not random.

spotted by tedu
OPENBSD_5_5
deraadt 10 years ago
parent
commit
425e578efb
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libc/stdlib/rand48.3

+ 3
- 3
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.13 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: rand48.3,v 1.14 2014/01/21 23:25:03 deraadt Exp $
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: January 21 2014 $
.Dt RAND48 3 .Dt RAND48 3
.Os .Os
.Sh NAME .Sh NAME
@ -156,7 +156,7 @@ always also set the multiplicand and addend for any of the six
generator calls. generator calls.
.Pp .Pp
For a more powerful random number generator, see For a more powerful random number generator, see
.Xr random 3 .
.Xr arc4random 3 .
.Sh SEE ALSO .Sh SEE ALSO
.Xr arc4random 3 , .Xr arc4random 3 ,
.Xr rand 3 , .Xr rand 3 ,


Loading…
Cancel
Save