Main index | Section 3 | Options |
#include <unistd.h>
The maximum buflen permitted is 256 bytes.
If it does not produce an error, getentropy() always provides the requested number of bytes of random data.
Similar to reading from /dev/urandom just after boot, getentropy() may block until the system has collected enough entropy to seed the CSPRNG.
[EFAULT] | |
The buf parameter points to an invalid address. | |
[EIO] | Too many bytes requested, or some other fatal error occurred. |
GETENTROPY (3) | February 24, 2018 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.