mirror of https://github.com/mkerrisk/man-pages
signal.2: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
de86e93c28
commit
125db7c1c1
|
@ -33,7 +33,7 @@
|
||||||
.\" various sections.
|
.\" various sections.
|
||||||
.\" 2008-07-11, mtk: rewrote and expanded portability discussion.
|
.\" 2008-07-11, mtk: rewrote and expanded portability discussion.
|
||||||
.\"
|
.\"
|
||||||
.TH SIGNAL 2 2013-02-09 "Linux" "Linux Programmer's Manual"
|
.TH SIGNAL 2 2013-04-19 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
signal \- ANSI C signal handling
|
signal \- ANSI C signal handling
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -99,6 +99,9 @@ cannot be caught or ignored.
|
||||||
returns the previous value of the signal handler, or
|
returns the previous value of the signal handler, or
|
||||||
.B SIG_ERR
|
.B SIG_ERR
|
||||||
on error.
|
on error.
|
||||||
|
In the event of an error,
|
||||||
|
.I errno
|
||||||
|
is set to indicate the cause.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
.TP
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
|
|
Loading…
Reference in New Issue