.\" based on earlier work by faith@cs.unc.edu and
.\" Mike Battersby <mib@deakin.edu.au>
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" 2005-09-15, mtk, Created new page by splitting off from sigaction.2
.\"
-.TH SIGPROCMASK 2 2008-10-17 "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
.BR sigprocmask ()
is unspecified in a multithreaded process; see
.BR pthread_sigmask (3).
-.SH "RETURN VALUE"
+.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
+the
+.I set
+or
+.I oldset
+argument points outside the process's allocated address space.
+.TP
.B EINVAL
The value specified in
.I how
was invalid.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES
It is not possible to block
.B SIGSEGV
are generated
while they are blocked, the result is undefined,
-unless the signal was generated by the
+unless the signal was generated by
.BR kill (2),
-.BR sigqueue (2),
+.BR sigqueue (3),
or
.BR raise (3).
.PP
See
.BR sigsetops (3)
for details on manipulating signal sets.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR kill (2),
.BR pause (2),
.BR sigaction (2),
.BR signal (2),
.BR sigpending (2),
-.BR sigqueue (2),
.BR sigsuspend (2),
.BR pthread_sigmask (3),
+.BR sigqueue (3),
.BR sigsetops (3),
.BR signal (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.