getrandom.2: Clarify interaction of GRND_RANDOM and signals

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-27 10:27:06 +01:00
parent 05e4d7afa9
commit 652febf0d9
1 changed files with 5 additions and 5 deletions

View File

@ -207,13 +207,13 @@ then
will not fail with
.BR EINTR .
Instead, it will return all of the bytes that have been requested.
.PP
When reading from
.IR /dev/random ,
these guarantees do
.I not
apply.
.PP
blocking requests of any size can be interrupted by a signal
(the call fails with the error
.BR EINTR ).
Calling
.BR getrandom ()
to read