sigpending.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:44:17 +02:00
parent 125db7c1c1
commit 947683f353
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,7 @@
.\"
.\" 2005-09-15, mtk, Created new page by splitting off from sigaction.2
.\"
.TH SIGPENDING 2 2008-10-04 "Linux" "Linux Programmer's Manual"
.TH SIGPENDING 2 2013-04-19 "Linux" "Linux Programmer's Manual"
.SH NAME
sigpending \- examine pending signals
.SH SYNOPSIS
@ -53,6 +53,9 @@ The mask of pending signals is returned in
.SH RETURN VALUE
.BR sigpending ()
returns 0 on success and \-1 on error.
In the event of an error,
.I errno
is set to indicate the cause.
.SH ERRORS
.TP
.B EFAULT