mirror of https://github.com/mkerrisk/man-pages
getrandom.2: Clarify interaction of GRND_RANDOM and signals
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
05e4d7afa9
commit
652febf0d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue