mirror of https://github.com/mkerrisk/man-pages
getrandom.2: Order ERRORS alphabetically
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
808397e39e
commit
26c04bd0f4
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue