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:
Michael Kerrisk 2013-04-19 08:43:02 +02:00
parent de86e93c28
commit 125db7c1c1
1 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,7 @@
.\" various sections.
.\" 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
signal \- ANSI C signal handling
.SH SYNOPSIS
@ -99,6 +99,9 @@ cannot be caught or ignored.
returns the previous value of the signal handler, or
.B SIG_ERR
on error.
In the event of an error,
.I errno
is set to indicate the cause.
.SH ERRORS
.TP
.B EINVAL