]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getrandom.2: Clarify interaction of GRND_RANDOM and signals
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 27 Jan 2015 09:27:06 +0000 (10:27 +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 3531f25b9df8010d3024a0321c340c7d694eb7bc..5e4ca71210e5a4347b6627ac05f54987da858d1e 100644 (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