OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / sigwait.3
index 4299816..3ee72f7 100644 (file)
 .\" 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.
 .\"
-.\" Japanese Version Copyright (c) 2008  Akihiro MOTOKI
-.\"         all rights reserved.
-.\" Translated 2008-08-21, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.04
-.\" 
-.TH SIGWAIT 3 2010-09-10 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH SIGWAIT 3 2010\-09\-10 Linux "Linux Programmer's Manual"
 .SH 名前
 .SH 名前
-.\"O sigwait \- wait for a signal
 sigwait \- シグナルを待つ
 sigwait \- シグナルを待つ
-.\"O .SH SYNOPSIS
 .SH 書式
 .nf
 .SH 書式
 .nf
-.B #include <signal.h>
+\fB#include <signal.h>\fP
 
 
-.BI " int sigwait(const sigset_t *" set ", int *" sig );
+\fB int sigwait(const sigset_t *\fP\fIset\fP\fB, int *\fP\fIsig\fP\fB);\fP
 .fi
 .sp
 .in -4n
 .fi
 .sp
 .in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
 .ad l
 .in
 .sp
 .ad l
-.BR sigwait ():
-_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+\fBsigwait\fP(): _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
 .ad b
 .ad b
-.\"O .SH DESCRIPTION
 .SH 説明
 .SH 説明
-.\"O The
-.\"O .BR sigwait ()
-.\"O function suspends execution of the calling thread until the
-.\"O delivery of one of the signals specified in the signal set
-.\"O .IR set .
-.\"O The function accepts the signal
-.\"O (removes it from the pending list of signals),
-.\"O and returns the signal number in
-.\"O .IR sig .
-.BR sigwait ()
-関数は、シグナル集合
-.I set
-で指定されたシグナルの一つが配送されるまで、
-呼び出したスレッドの実行を中断する。
-この関数はそのシグナルを受け取り (つまり、処理待ちのシグナルのリスト
-からそのシグナルを削除し)、そのシグナル番号を
-.I sig
-に格納して返す。
+\fBsigwait\fP()  関数は、シグナル集合 \fIset\fP で指定されたシグナルの一つが配送されるまで、 呼び出したスレッドの実行を中断する。
+この関数はそのシグナルを受け取り (つまり、処理待ちのシグナルのリスト からそのシグナルを削除し)、そのシグナル番号を \fIsig\fP に格納して返す。
 
 
-.\"O The operation of
-.\"O .BR sigwait ()
-.\"O is the same as
-.\"O .BR sigwaitinfo (2),
-.\"O except that:
-.BR sigwait ()
-の動作は
-.BR sigwaitinfo (2)
-と同じだが、以下の点が異なる。
+\fBsigwait\fP()  の動作は \fBsigwaitinfo\fP(2)  と同じだが、以下の点が異なる。
 .IP * 2
 .IP * 2
-.\"O .BR sigwait ()
-.\"O only returns the signal number, rather than a
-.\"O .I siginfo_t
-.\"O structure describing the signal.
-.BR sigwait ()
-は、シグナルの内容を表す
-.I siginfo_t
-構造体を返すのではなく、単にシグナル番号を返す。
+\fBsigwait\fP()  は、シグナルの内容を表す \fIsiginfo_t\fP 構造体を返すのではなく、単にシグナル番号を返す。
 .IP *
 .IP *
-.\"O The return values of the two functions are different.
-返り値が
-.BR sigwaitinfo (2)
-とは異なる。
-.\"O .SH RETURN VALUE
+返り値が \fBsigwaitinfo\fP(2)  とは異なる。
 .SH 返り値
 .SH 返り値
-.\"O On success,
-.\"O .BR sigwait ()
-.\"O returns 0.
-.\"O On error, it returns a positive error number (listed in ERRORS).
-成功すると、
-.BR sigwait ()
-は 0 を返す。
-エラーの場合、(「エラー」の節のリストにある) 正のエラー番号を返す。
-.\"O .SH ERRORS
+成功すると、 \fBsigwait\fP()  は 0 を返す。 エラーの場合、(「エラー」の節のリストにある) 正のエラー番号を返す。
 .SH エラー
 .SH エラー
-.TP
-.B EINVAL
+.TP 
+\fBEINVAL\fP
 .\" Does not occur for glibc.
 .\" Does not occur for glibc.
-.\"O .I set
-.\"O contains an invalid signal number.
-.I set
-に無効なシグナル番号が入っている。
-.\"O .SH CONFORMING TO
+\fIset\fP に無効なシグナル番号が入っている。
 .SH 準拠
 .SH 準拠
-POSIX.1-2001.
-.\"O .SH NOTES
+POSIX.1\-2001.
 .SH 注意
 .SH 注意
-.\"O .BR sigwait ()
-.\"O is implemented using
-.\"O .BR sigtimedwait (2).
-.BR sigwait ()
-は
-.BR sigtimedwait (2)
-を使って実装されている。
-.\"O .SH EXAMPLES
+\fBsigwait\fP()  は \fBsigtimedwait\fP(2)  を使って実装されている。
 .SH 例
 .SH 例
-.\"O See
-.\"O .BR pthread_sigmask (3).
-.BR pthread_sigmask (3)
-を参照。
-.\"O .SH SEE ALSO
+\fBpthread_sigmask\fP(3)  を参照。
 .SH 関連項目
 .SH 関連項目
-.BR sigaction (2),
-.BR signalfd (2),
-.BR sigpending (2),
-.BR sigsuspend (2),
-.BR sigwaitinfo (2),
-.BR sigsetops (3),
-.BR signal (7)
+\fBsigaction\fP(2), \fBsignalfd\fP(2), \fBsigpending\fP(2), \fBsigsuspend\fP(2),
+\fBsigwaitinfo\fP(2), \fBsigsetops\fP(3), \fBsignal\fP(7)