.I buflen
is less than or equal to 256,
a return of fewer bytes than requested should never happen,
-but the careful user-space code should check for this anyway!
+but the careful programmer will check for this anyway!
.SS Choice of random device
Unless you are doing long-term key generation (and perhaps not even
then), you probably shouldn't be using
The disadvantage of
.B GRND_RANDOM
is that it can block.
-Furthermore, dealing with partially fulfilled
+Furthermore, dealing with the partially fulfilled
.BR getrandom ()
-requests increases code complexity.
+requests that can occur when using
+.B GRND_RANDOM
+increases code complexity.
.SS Emulating OpenBSD's getentropy()
The
.BR getentropy ()