(no title)
ushi | 11 years ago
From the OpenBSD Manpage:
getentropy() will succeed unless:
[EFAULT]
The buf parameter points to an invalid address.
[EIO]
Too many bytes requested, or some other fatal error occurred.
See: http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man2/...
acqq|11 years ago
http://lwn.net/Articles/606552/
Note the magical 256 number. It's important.