Re: [PATCH] rand.c updates from FreeBSD RELENG_5
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
討論串 (同標題文章)
完整討論串 (本文為第 13 之 18 篇):