History log of /freebsd-9.3-release/lib/libc/gen/arc4random.3
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 180688 22-Jul-2008 ache

Add arc4random_uniform() function (to avoid "modulo bias")

Obtained from: OpenBSD


# 180657 21-Jul-2008 ache

Implement arc4random_buf() function

Obtained from: OpenBSD


# 118247 31-Jul-2003 das

The upper end of the range of arc4random(3) is 2**32-1, not 2**31-1.


# 115225 22-May-2003 ru

Assorted mdoc(7) fixes.

Approved by: re (blanket)


# 114454 01-May-2003 trhodes

Use the .Dl macro.

Discussed with: mdoc(7) officer ru


# 114444 01-May-2003 trhodes

State the fact that the range is twice the traditional RAND_MAX.
Add an EXAMPLES section.

PR: 48493
Submitted by: Paul Herman <pherman@frenchfries.net> (original version)


# 84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


# 75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


# 67967 30-Oct-2000 asmodai

Whitespace only change: trim trailing whitespace.


# 59460 21-Apr-2000 phantom

Introduce ".Lb" macro to libc manpages.

More libraries manpages updates following.


# 57686 02-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 52671 30-Oct-1999 phantom

mdoc(7)'fy


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 48794 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


# 46800 09-May-1999 kris

More typos.


# 46798 09-May-1999 kris

Typo.

Obtained from: OpenBSD


# 26629 13-Jun-1997 ache

Change u_char which require special include to unsigned char


# 26628 13-Jun-1997 ache

Add arc4random() functions from OpenBSD. They are almost same as our
srandomdev(), but can be used inside libraries. random() can't be used
inside libraries because it breaks its possible predictable sequence.
arc4random() is true random as designed, so its usage is library-safe.
Obtained from: OpenBSD