OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man2 / sigprocmask.2
index bd4065d..85d523e 100644 (file)
@@ -2,6 +2,7 @@
 .\" 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
@@ -88,15 +90,26 @@ The use of
 .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
@@ -128,7 +141,7 @@ or
 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),
@@ -139,3 +152,11 @@ for details on manipulating signal sets.
 .BR sigqueue (3),
 .BR sigsetops (3),
 .BR signal (7)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.