[PATCH] rand.c updates from FreeBSD RELENG_5
Joerg Sonnenberger
joerg at britannica.bec.de
Thu May 13 05:16:01 PDT 2004
On Wed, May 12, 2004 at 07:29:09PM -0500, William M. Grim wrote:
> @@ -85,14 +88,24 @@
> value is provided, the functions are automatically
> seeded with a value of 1.
> .Pp
> +The
> +.Fn sranddev
> +function initializes a seed using the
> +.Xr random 4
> +random number device which returns good random numbers,
> +suitable for cryptographic use.
This part of the patch is out-of-sync.
> +.Pp
> +The
> .Fn rand_r
> +function
> provides the same functionality as
> .Fn rand .
> A pointer to the context value
> .Fa ctx
> must be supplied by the caller.
> .Sh SEE ALSO
> -.Xr random 3
> +.Xr random 3 ,
> +.Xr random 4
> .Sh STANDARDS
> The
> .Fn rand
More information about the Submit
mailing list