From 26c04bd0f4710332618112e0c48017731fbb0515 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 8 Aug 2016 02:57:07 +1000 Subject: [PATCH] getrandom.2: Order ERRORS alphabetically Signed-off-by: Michael Kerrisk --- man2/getrandom.2 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/man2/getrandom.2 b/man2/getrandom.2 index 9a086509f..e955fd4d7 100644 --- a/man2/getrandom.2 +++ b/man2/getrandom.2 @@ -140,15 +140,6 @@ On error, \-1 is returned, and is set appropriately. .SH ERRORS .TP -.B EINVAL -An invalid flag was specified in -.IR flags . -.TP -.B EFAULT -The address referred to by -.I buf -is outside the accessible address space. -.TP .B EAGAIN The requested entropy was not available, and .BR getrandom () @@ -156,6 +147,11 @@ would have blocked if the .B GRND_NONBLOCK flag was not set. .TP +.B EFAULT +The address referred to by +.I buf +is outside the accessible address space. +.TP .B EINTR The call was interrupted by a signal handler; see the description of how interrupted @@ -165,6 +161,10 @@ calls on "slow" devices are handled with and without the flag in the .BR signal (7) man page. +.TP +.B EINVAL +An invalid flag was specified in +.IR flags . .SH VERSIONS .BR getrandom () was introduced in version 3.17 of the Linux kernel.