OSDN Git Service

Retire LDP man-pages repository
[linuxjm/LDP_man-pages.git] / release / man2 / sigprocmask.2
diff --git a/release/man2/sigprocmask.2 b/release/man2/sigprocmask.2
deleted file mode 100644 (file)
index 376d667..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-.\" Copyright (c) 2005 Michael Kerrisk
-.\" 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 copy and distribute modified versions of this
-.\" manual under the conditions for verbatim copying, provided that the
-.\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one.
-.\"
-.\" Since the Linux kernel and libraries are constantly changing, this
-.\" manual page may be incorrect or out-of-date.  The author(s) assume no
-.\" responsibility for errors or omissions, or for damages resulting from
-.\" the use of the information contained herein.  The author(s) may not
-.\" have taken the same level of care in the production of this manual,
-.\" which is licensed free of charge, as they might when working
-.\" professionally.
-.\"
-.\" 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
-.\"
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\"
-.\" Japanese Version Copyright (c) 2005 Akihiro MOTOKI all rights reserved.
-.\" Translated 2005-10-03, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
-.\" Updated 2012-05-04, Akihiro MOTOKI <amotoki@gmail.com>
-.\" Updated 2013-07-22, Akihiro MOTOKI <amotoki@gmail.com>
-.\"
-.TH SIGPROCMASK 2 2013\-04\-19 Linux "Linux Programmer's Manual"
-.SH 名前
-sigprocmask \- 禁止するシグナルの確認と変更
-.SH 書式
-\fB#include <signal.h>\fP
-.sp
-\fBint sigprocmask(int \fP\fIhow\fP\fB, const sigset_t *\fP\fIset\fP\fB,\fP \fBsigset_t
-*\fP\fIoldset\fP\fB);\fP
-.sp
-.in -4n
-glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
-.in
-.sp
-.ad l
-\fBsigprocmask\fP(): _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE ||
-_POSIX_SOURCE
-.ad b
-.SH 説明
-\fBsigprocmask\fP()  を使うと、呼び出したスレッドのシグナルマスクの取得/変更ができる。
-シグナルマスクは、呼び出し元に対して現在配送が禁止されているシグナルの 集合のことである (詳細については \fBsignal\fP(7)  も参照のこと)。
-
-このコールの動作は \fIhow\fP の値によって決まる:
-.TP 
-\fBSIG_BLOCK\fP
-禁止されたシグナルの集合は現在の値と \fIset\fP 引き数を結合したものとなる。
-.TP 
-\fBSIG_UNBLOCK\fP
-現在禁止されているシグナルの集合から \fIset\fP にあるシグナルを取り除く。禁止されていないシグナルを取り除こうと することも認められている。
-.TP 
-\fBSIG_SETMASK\fP
-禁止されているシグナルの集合に \fIset\fP 引き数を設定する。
-.PP
-\fIoldset\fP が NULL でなければ、シグナルマスクの今までの値を \fIoldset\fP に格納する。
-
-\fIset\fP が NULL であれば、シグナルマスクは変更されない (すなわち、 \fIhow\fP は無視される)。 \fIset\fP
-の値にかかわらず、現在のシグナルマスクの値は \fIoldset\fP に入れて返される (但し、 \fIoldset\fP が NULL でない場合)。
-
-マルチスレッドのプロセスで \fBsigprocmask\fP()  を使用した場合の動作は規定されていない。 \fBpthread_sigmask\fP(3)
-を参照のこと。
-.SH 返り値
-\fBsigprocmask\fP() は成功した場合 0 を返す。 エラーの場合、 \-1 を返し、 \fIerrno\fP にエラーの原因を示す値を設定する。
-.SH エラー
-.TP 
-\fBEFAULT\fP
-引き数 \fIset\fP か \fIoldset\fP がプロセスに割り当てられたアドレス空間の外を指している。
-.TP 
-\fBEINVAL\fP
-\fIhow\fP に指定された値が有効ではない。
-.SH 準拠
-POSIX.1\-2001.
-.SH 注意
-\fBSIGKILL\fP や \fBSIGSTOP\fP を禁止することはできない。 禁止しようとしても黙って無視される。
-
-プロセス内の各スレッドはそれぞれ専用のシグナルマスクを持つ。
-
-\fBfork\fP(2)  経由で作成された子プロセスは親プロセスのシグナルマスクのコピーを継承する。 \fBexecve\fP(2)
-の前後でシグナルマスクは保持される。
-
-シグナル \fBSIGBUS\fP, \fBSIGFPE\fP, \fBSIGILL\fP, \fBSIGSEGV\fP が禁止されている間に生成された場合で、 そのシグナルが
-\fBkill\fP(2), \fBsigqueue\fP(3), \fBraise\fP(3)  によって生成されたものでないときには、 その後の動作は未定義である。
-.PP
-シグナル集合の操作に関する詳細は \fBsigsetops\fP(3)  を参照のこと。
-.SH 関連項目
-\fBkill\fP(2), \fBpause\fP(2), \fBsigaction\fP(2), \fBsignal\fP(2), \fBsigpending\fP(2),
-\fBsigsuspend\fP(2), \fBpthread_sigmask\fP(3), \fBsigqueue\fP(3), \fBsigsetops\fP(3),
-\fBsignal\fP(7)
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部である。
-プロジェクトの説明とバグ報告に関する情報は \%http://www.kernel.org/doc/man\-pages/ に書かれている。