diff options
author | Robert Mustacchi <rm@joyent.com> | 2015-04-07 09:59:42 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2015-04-12 16:04:38 -0700 |
commit | 9d12795f87b63c2e39e87bff369182edd34677d3 (patch) | |
tree | 38d6405120ac9b468e66d6e900ab228ea9c92110 /usr/src/man/man3c/drand48.3c | |
parent | 08344b293eab865a57e4629b178f2003dced397e (diff) | |
download | illumos-gate-9d12795f87b63c2e39e87bff369182edd34677d3.tar.gz |
5830 want arc4random(3C) suite
5802 want getentropy(3C)
5803 want getrandom(2)
5804 want explicit_bzero(3C)
5805 want MC_INHERIT_ZERO
5806 uuid_generate can leak its cache in edge conditions
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/man/man3c/drand48.3c')
-rw-r--r-- | usr/src/man/man3c/drand48.3c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/src/man/man3c/drand48.3c b/usr/src/man/man3c/drand48.3c index 36b820a864..92d303b1d4 100644 --- a/usr/src/man/man3c/drand48.3c +++ b/usr/src/man/man3c/drand48.3c @@ -4,7 +4,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH DRAND48 3C "Jul 24, 2002" +.TH DRAND48 3C "Feb 11, 2015" .SH NAME drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 \- generate uniformly distributed pseudo-random numbers @@ -57,7 +57,6 @@ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 .fi .SH DESCRIPTION -.sp .LP This family of functions generates pseudo-random numbers using the well-known linear congruential algorithm and 48-bit integer arithmetic. @@ -150,9 +149,11 @@ the multiplier \fIa\fR, and \fIparam\fR[6] specifies the 16-bit addend \fIc\fR. After \fBlcong48()\fR has been called, a subsequent call to either \fBsrand48()\fR or \fBseed48()\fR will restore the ``standard'' multiplier and addend values, \fIa\fR and \fIc\fR, specified above. -.SH ATTRIBUTES .sp .LP +For a more powerful random number generator, see \fBarc4random\fR(3C). +.SH ATTRIBUTES +.LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -169,6 +170,5 @@ MT-Level Safe .TE .SH SEE ALSO -.sp .LP -\fBrand\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) +\fBarc4random\fR(3C), \fBrand\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) |