看板 DFBSD_submit 關於我們 聯絡資訊
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