mirror of https://github.com/mkerrisk/man-pages
sigaction.2: RETURN VALUE: mention that 'errno' is set on error
Reported-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
716c8c3f00
commit
de86e93c28
|
@ -44,7 +44,7 @@
|
|||
.\" 2010-06-11 Andi Kleen, add hwpoison signal extensions
|
||||
.\" 2010-06-11 mtk, improvements to discussion of various siginfo_t fields.
|
||||
.\"
|
||||
.TH SIGACTION 2 2013-02-12 "Linux" "Linux Programmer's Manual"
|
||||
.TH SIGACTION 2 2013-04-19 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
sigaction \- examine and change a signal action
|
||||
.SH SYNOPSIS
|
||||
|
@ -659,7 +659,9 @@ device disconnected
|
|||
.RE
|
||||
.SH RETURN VALUE
|
||||
.BR sigaction ()
|
||||
returns 0 on success and \-1 on error.
|
||||
returns 0 on success; on error, \-1 is returned, and
|
||||
.I errno
|
||||
is set to indicate the error.
|
||||
.SH ERRORS
|
||||
.TP
|
||||
.B EFAULT
|
||||
|
|
Loading…
Reference in New Issue