OSDN Git Service
(root)
/
linuxjm
/
LDP_man-pages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git]
/
original
/
man2
/
sigprocmask.2
diff --git
a/original/man2/sigprocmask.2
b/original/man2/sigprocmask.2
index
db5732e
..
85d523e
100644
(file)
--- a/
original/man2/sigprocmask.2
+++ b/
original/man2/sigprocmask.2
@@
-2,6
+2,7
@@
.\" based on earlier work by faith@cs.unc.edu and
.\" Mike Battersby <mib@deakin.edu.au>
.\"
.\" 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.
.\" 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.
@@
-21,10
+22,11
@@
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.\" 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
.\"
.\"
.\" 2005-09-15, mtk, Created new page by splitting off from sigaction.2
.\"
-.TH SIGPROCMASK 2 20
08-10-17
"Linux" "Linux Programmer's Manual"
+.TH SIGPROCMASK 2 20
13-04-19
"Linux" "Linux Programmer's Manual"
.SH NAME
sigprocmask \- examine and change blocked signals
.SH SYNOPSIS
.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).
.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.
.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
.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.
.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
POSIX.1-2001.
.SH NOTES
It is not possible to block
@@
-119,23
+132,31
@@
or
.B SIGSEGV
are generated
while they are blocked, the result is undefined,
.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 kill (2),
-.BR sigqueue (
2
),
+.BR sigqueue (
3
),
or
.BR raise (3).
.PP
See
.BR sigsetops (3)
for details on manipulating signal sets.
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 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 sigsuspend (2),
.BR pthread_sigmask (3),
+.BR sigqueue (3),
.BR sigsetops (3),
.BR signal (7)
.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/.