OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man3 / sigvec.3
index 7f0e421..886688c 100644 (file)
@@ -1,6 +1,7 @@
 .\" t
 .\" Copyright (c) 2005 by Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%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
 .\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH SIGVEC 3 2007\-07\-26 Linux "Linux Programmer's Manual"
+.TH SIGVEC 3 2012\-09\-06 Linux "Linux Programmer's Manual"
 .SH 名前
 sigvec, sigblock, sigsetmask, siggetmask, sigmask \- BSD 版シグナル API
 .SH 書式
@@ -49,9 +51,10 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参
 .sp
 上記の全ての関数: _BSD_SOURCE
 .SH 説明
-これらの関数は、昔ながらの BSD 版シグナル API を使用しているプログラム に対して互換性のあるインタフェースを glibc
-で提供するものである。 この API は過去のものであり、新しいアプリケーションでは POSIX シグナル API (\fBsigaction\fP(2),
-\fBsigprocmask\fP(2)  など) を使用すべきである。
+These functions are provided in glibc as a compatibility interface for
+programs that make use of the historical BSD signal API.  This API is
+obsolete: new applications should use the POSIX signal API (\fBsigaction\fP(2),
+\fBsigprocmask\fP(2), etc.).
 
 関数 \fBsigvec\fP()  は、(POSIX の \fBsigaction\fP(2)  と同様に) シグナル \fIsig\fP の動作の設定・取得を行う。
 \fIvec\fP は、NULL 以外の場合、 \fIsig\fP の新しい動作を定義した \fIsigvec\fP 構造体へのポインタである。 \fIovec\fP
@@ -65,20 +68,22 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参
 .nf
 
 struct sigvec {
-    void (*sv_handler)();  /* Signal disposition */
-    int    sv_mask;        /* Signals to be blocked in handler */
-    int    sv_flags;       /* Flags */
+    void (*sv_handler)(int); /* Signal disposition */
+    int    sv_mask;          /* Signals to be blocked in handler */
+    int    sv_flags;         /* Flags */
 };
 
 .fi
 .in
-\fIsv_handler\fP フィールドはシグナルの動作を指定するもので、 シグナルハンドラ関数のアドレスか、 \fBSIG_DFL\fP と
-\fBSIG_IGN\fP のいずれかを指定できる。 \fBSIG_DFL\fP はシグナルに適用されるデフォルトの動作を意味し、 \fBSIG_IGN\fP
-はシグナルを無視することを意味する。
+The \fIsv_handler\fP field specifies the disposition of the signal, and is
+either: the address of a signal handler function; \fBSIG_DFL\fP, meaning the
+default disposition applies for the signal; or \fBSIG_IGN\fP, meaning that the
+signal is ignored.
 
-\fIsv_handler\fP にシグナルハンドラのアドレスを指定した場合、 \fIsv_mask\fP
-はハンドラが実行中にブロックされるべきシグナルのマスクを指定する。 また、ハンドラを起動したシグナル自身はデフォルトでブロックされる。
-\fBSIGKILL\fP か \fBSIGSTOP\fP をブロックしようとした場合には、黙って無視される。
+If \fIsv_handler\fP specifies the address of a signal handler, then \fIsv_mask\fP
+specifies a mask of signals that are to be blocked while the handler is
+executing.  In addition, the signal for which the handler is invoked is also
+blocked.  Attempts to block \fBSIGKILL\fP or \fBSIGSTOP\fP are silently ignored.
 
 \fIsv_handler\fP にシグナルハンドラのアドレスを指定した場合、 \fIsv_flags\fP
 フィールドはハンドラが呼ばれた際の挙動を制御するフラグを指定する。 このフィールドには、0 か、以下のフラグを 1個以上指定できる:
@@ -133,3 +138,7 @@ BSD と System V のどちらのシステムでも シグナルを待つため
 .SH 関連項目
 \fBkill\fP(2), \fBpause\fP(2), \fBsigaction\fP(2), \fBsignal\fP(2), \fBsigprocmask\fP(2),
 \fBraise\fP(3), \fBsigpause\fP(3), \fBsigset\fP(3), \fBsignal\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。