]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getrandom.2: NOTES: clarify discussion of EINTR error
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 27 Jan 2015 09:22:32 +0000 (10:22 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 29 Jan 2015 08:02:41 +0000 (09:02 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/getrandom.2

index be6cedd4f841eb89899e10e3665d740725d92aef..3531f25b9df8010d3024a0321c340c7d694eb7bc 100644 (file)
@@ -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