X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=draft%2Fman2%2Fsigpending.2;h=458338838f85f4ea36ed10967be34137b413f07c;hb=1d98b26905be2ad5ba08a94d65f57d872bae4f85;hp=b9ee15eae24fa27aade4b8ebde34d7c9de0aca4a;hpb=ce024239a1d8e74a7a44f7c24cee4375cb13b3ef;p=linuxjm%2FLDP_man-pages.git diff --git a/draft/man2/sigpending.2 b/draft/man2/sigpending.2 index b9ee15ea..45833883 100644 --- a/draft/man2/sigpending.2 +++ b/draft/man2/sigpending.2 @@ -24,111 +24,50 @@ .\" .\" 2005-09-15, mtk, Created new page by splitting off from sigaction.2 .\" -.\" Japanese Version Copyright (c) 2005 Akihiro MOTOKI all rights reserved. -.\" Translated 2005-10-03, Akihiro MOTOKI -.\" Updated 2005-12-05, Akihiro MOTOKI, Catch up to LDP man-pages 2.16 +.\"******************************************************************* .\" -.\"WORD: pending 処理待ちの +.\" This file was generated with po4a. Translate the source file. .\" -.TH SIGPENDING 2 2008-10-04 "Linux" "Linux Programmer's Manual" -.\"O .SH NAME +.\"******************************************************************* +.TH SIGPENDING 2 2008\-10\-04 Linux "Linux Programmer's Manual" .SH 名前 -.\"O sigpending \- examine pending signals sigpending \- 処理待ちのシグナルの検査 -.\"O .SH SYNOPSIS .SH 書式 -.B #include +\fB#include \fP .sp -.BI "int sigpending(sigset_t *" set ); +\fBint sigpending(sigset_t *\fP\fIset\fP\fB);\fP .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 -.BR sigpending (): -_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE +\fBsigpending\fP(): _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || +_POSIX_SOURCE .ad b -.\"O .SH DESCRIPTION .SH 説明 .PP -.\"O .BR sigpending () -.\"O returns the set of signals that are pending for delivery to the calling -.\"O thread (i.e., the signals which have been raised while blocked). -.\"O The mask of pending signals is returned in -.\"O .IR set . -.BR sigpending () -は、呼び出し元のスレッドへの配送を待っている (pending) シグナル集合 -(すなわち、禁止中に発生したシグナル) を返す。 -処理待ちのシグナルのマスクが -.I set -に格納される。 -.\"O .SH "RETURN VALUE" +\fBsigpending\fP() は、呼び出し元のスレッドへの配送を待っている (pending) シグナル集合 (すなわち、禁止中に発生したシグナル) +を返す。 処理待ちのシグナルのマスクが \fIset\fP に格納される。 .SH 返り値 -.\"O .BR sigpending () -.\"O returns 0 on success and \-1 on error. -.BR sigpending () -は成功すれば 0 を返し、エラーならば \-1 を返す。 -.\"O .SH ERRORS +\fBsigpending\fP() は成功すれば 0 を返し、エラーならば \-1 を返す。 .SH エラー -.TP -.B EFAULT -.\"O .I set -.\"O points to memory which is not a valid part of the process address space. -.I set -が指しているメモリが、プロセスのアドレス空間の有効な部分ではない。 -.\"O .SH "CONFORMING TO" +.TP +\fBEFAULT\fP +\fIset\fP が指しているメモリが、プロセスのアドレス空間の有効な部分ではない。 .SH 準拠 -POSIX.1-2001. -.\"O .SH NOTES +POSIX.1\-2001. .SH 注意 -.\"O See -.\"O .BR sigsetops (3) -.\"O for details on manipulating signal sets. -シグナル集合の操作に関する詳細は -.BR sigsetops (3) -を参照のこと。 +シグナル集合の操作に関する詳細は \fBsigsetops\fP(3) を参照のこと。 -.\"O The set of signals that is pending for a thread -.\"O is the union of the set of signals that is pending for that thread -.\"O and the set of threads that is pending for the process as a whole; see -.\"O .BR signal (7). -あるスレッドに対する処理待ちのシグナルの集合は、 -そのスレッド自体への処理待ちのシグナル集合と、プロセス全体への処理待ちの -シグナル集合をあわせたものである。 -.BR signal (7) -参照。 +あるスレッドに対する処理待ちのシグナルの集合は、 そのスレッド自体への処理待ちのシグナル集合と、プロセス全体への処理待ちの +シグナル集合をあわせたものである。 \fBsignal\fP(7) 参照。 -.\"O A child created via -.\"O .BR fork (2) -.\"O initially has an empty pending signal set; -.\"O the pending signal set is preserved across an -.\"O .BR execve (2). -.BR fork (2) -経由で作成された子プロセスの処理待ちシグナル集合は最初は空である。 -.BR execve (2) -の前後で、処理待ちシグナル集合は保持される。 -.\"O .SH BUGS +\fBfork\fP(2) 経由で作成された子プロセスでは、処理待ちのシグナル集合は空の集合で初期化される。 \fBexecve\fP(2) +の前後で、処理待ちのシグナル集合は保持される。 .SH バグ -.\"O In versions of glibc up to and including 2.2.1, -.\"O there is a bug in the wrapper function for -.\"O .BR sigpending () -.\"O which means that information about pending real-time signals -.\"O is not correctly returned. -バージョン 2.2.1 以前の glibc では、 -.BR sigpending () -のラッパー関数に、処理待ちのリアルタイムシグナルに関する情報が +バージョン 2.2.1 以前の glibc では、 \fBsigpending\fP() のラッパー関数に、処理待ちのリアルタイムシグナルに関する情報が 正しく返されないというバグがある。 -.\"O .SH "SEE ALSO" .SH 関連項目 -.BR kill (2), -.BR sigaction (2), -.BR signal (2), -.BR sigprocmask (2), -.BR sigsuspend (2), -.BR sigsetops (3), -.BR signal (7) +\fBkill\fP(2), \fBsigaction\fP(2), \fBsignal\fP(2), \fBsigprocmask\fP(2), +\fBsigsuspend\fP(2), \fBsigsetops\fP(3), \fBsignal\fP(7)