mirror of https://github.com/mkerrisk/man-pages
getrandom.2: NOTES: clarify discussion of EINTR error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
473844a13d
commit
05e4d7afa9
|
@ -191,11 +191,15 @@ is interrupted by a signal handler
|
|||
depends on the initialization state of the entropy buffer
|
||||
and on the request size,
|
||||
.IR buflen .
|
||||
If the entropy is not yet initialized or the request size is large
|
||||
.RI ( buflen "\ >\ 256),"
|
||||
then the call will fail with the
|
||||
If the entropy is not yet initialized, then the call will fail with the
|
||||
.B EINTR
|
||||
error.
|
||||
If the entropy pool has been initialized
|
||||
and the request size is large
|
||||
.RI ( buflen "\ >\ 256),"
|
||||
the call either succeeds, returning a partially filled buffer,
|
||||
or fails with the error
|
||||
.BR EINTR.
|
||||
If the entropy pool has been initialized and the request size is small
|
||||
.RI ( buflen "\ <=\ 256),"
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue