OSDN Git Service

(split) LDP: Update draft and release pages (based on the previous commit)
[linuxjm/LDP_man-pages.git] / release / man3 / sigvec.3
index 886688c..77b2271 100644 (file)
@@ -51,10 +51,9 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参
 .sp
 上記の全ての関数: _BSD_SOURCE
 .SH 説明
-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.).
+これらの関数は、昔ながらの BSD 版シグナル API を使用しているプログラム に対して互換性のあるインタフェースを glibc
+で提供するものである。 この API は過去のものであり、新しいアプリケーションでは POSIX シグナル API (\fBsigaction\fP(2),
+\fBsigprocmask\fP(2)  など) を使用すべきである。
 
 関数 \fBsigvec\fP()  は、(POSIX の \fBsigaction\fP(2)  と同様に) シグナル \fIsig\fP の動作の設定・取得を行う。
 \fIvec\fP は、NULL 以外の場合、 \fIsig\fP の新しい動作を定義した \fIsigvec\fP 構造体へのポインタである。 \fIovec\fP
@@ -75,15 +74,13 @@ struct sigvec {
 
 .fi
 .in
-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 フィールドはシグナルの動作を指定するもので、 シグナルハンドラ関数のアドレスか、 \fBSIG_DFL\fP と
+\fBSIG_IGN\fP のいずれかを指定できる。 \fBSIG_DFL\fP はシグナルに適用されるデフォルトの動作を意味し、 \fBSIG_IGN\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_mask\fP
+はハンドラが実行中にブロックされるべきシグナルのマスクを指定する。 また、ハンドラを起動したシグナル自身はブロックされる。 \fBSIGKILL\fP か
+\fBSIGSTOP\fP をブロックしようとした場合には、黙って無視される。
 
 \fIsv_handler\fP にシグナルハンドラのアドレスを指定した場合、 \fIsv_flags\fP
 フィールドはハンドラが呼ばれた際の挙動を制御するフラグを指定する。 このフィールドには、0 か、以下のフラグを 1個以上指定できる: