| 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. | |
| [EINVAL] | |
| Too many bytes requested. | |
| GETENTROPY (3) | January 17, 2025 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | C is a language that combines all the elegance and power of assembly language with all the readability and maintainability of assembly language. | ” |