sigprocmask.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:45:03 +02:00
parent 947683f353
commit 2cbd0ac5b8
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 SIGPROCMASK 2 2012-04-15 "Linux" "Linux Programmer's Manual"
.TH SIGPROCMASK 2 2013-04-19 "Linux" "Linux Programmer's Manual"
.SH NAME
sigprocmask \- examine and change blocked signals
.SH SYNOPSIS
@ -93,6 +93,9 @@ is unspecified in a multithreaded process; see
.SH RETURN VALUE
.BR sigprocmask ()
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