Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PWS_RAND_GET(3)	       FreeBSD Library Functions Manual	       PWS_RAND_GET(3)

NAME
     pws_rand_get -- Get some bytes of entropy

LIBRARY
     -lpwstor

SYNOPSIS
     #include <pwstor.h>

     int
     pws_rand_get(size_t bytes,	unsigned char *dst);

DESCRIPTION
     The pws_rand_get()	function returns zero on success and non-zero to indi-
     cate failure.  Upon success, the dst buffer (which	the caller must	allo-
     cate appropriately) will be filled	with bytes bytes of entropy from the
     operating system.

SEE ALSO
     pwstor(3)

FreeBSD	13.0		       October 23, 2008			  FreeBSD 13.0

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pws_rand_get&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help