OSDN Git Service

(split) LDP: draft snapshots from latest ja.po(s).
[linuxjm/LDP_man-pages.git] / draft / man2 / sigpending.2
index 1f6808c..acb83d7 100644 (file)
 .\"
 .\" 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 <amotoki@dd.iij4u.or.jp>
-.\" 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
-.SH Ì¾Á°
-.\"O sigpending \- examine pending signals
-sigpending \- ½èÍýÂÔ¤Á¤Î¥·¥°¥Ê¥ë¤Î¸¡ºº
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
-.B #include <signal.h>
+.\"*******************************************************************
+.TH SIGPENDING 2 2008\-10\-04 Linux "Linux Programmer's Manual"
+.SH 名前
+sigpending \- 処理待ちのシグナルの検査
+.SH 書式
+\fB#include <signal.h>\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 ÀâÌÀ
+.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"
-.SH ÊÖ¤êÃÍ
-.\"O .BR sigpending ()
-.\"O returns 0 on success and \-1 on error.
-.BR sigpending ()
-¤ÏÀ®¸ù¤¹¤ì¤Ð 0 ¤òÊÖ¤·¡¢¥¨¥é¡¼¤Ê¤é¤Ð \-1 ¤òÊÖ¤¹¡£
-.\"O .SH ERRORS
-.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"
-.SH ½àµò
-POSIX.1-2001.
-.\"O .SH NOTES
-.SH Ãí°Õ
-.\"O See
-.\"O .BR sigsetops (3)
-.\"O for details on manipulating signal sets.
-¥·¥°¥Ê¥ë½¸¹ç¤ÎÁàºî¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ï
-.BR sigsetops (3)
-¤ò»²¾È¤Î¤³¤È¡£
+\fBsigpending\fP()  は、呼び出し元のスレッドへの配送を待っている (pending) シグナル集合 (すなわち、禁止中に発生したシグナル)
+を返す。 処理待ちのシグナルのマスクが \fIset\fP に格納される。
+.SH 返り値
+\fBsigpending\fP()  は成功すれば 0 を返し、エラーならば \-1 を返す。
+.SH エラー
+.TP 
+\fBEFAULT\fP
+\fIset\fP が指しているメモリが、プロセスのアドレス空間の有効な部分ではない。
+.SH 準拠
+POSIX.1\-2001.
+.SH 注意
+シグナル集合の操作に関する詳細は \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
-.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 ()
-¤Î¥é¥Ã¥Ñ¡¼´Ø¿ô¤Ë¡¢½èÍýÂÔ¤Á¤Î¥ê¥¢¥ë¥¿¥¤¥à¥·¥°¥Ê¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤¬
-Àµ¤·¤¯ÊÖ¤µ¤ì¤Ê¤¤¤È¤¤¤¦¥Ð¥°¤¬¤¢¤ë¡£
-.\"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)
+\fBfork\fP(2)  経由で作成された子プロセスでは、処理待ちのシグナル集合は空の集合で初期化される。 \fBexecve\fP(2)
+の前後で、処理待ちのシグナル集合は保持される。
+.SH バグ
+バージョン 2.2.1 以前の glibc では、 \fBsigpending\fP()  のラッパー関数に、処理待ちのリアルタイムシグナルに関する情報が
+正しく返されないというバグがある。
+.SH 関連項目
+\fBkill\fP(2), \fBsigaction\fP(2), \fBsignal\fP(2), \fBsigprocmask\fP(2),
+\fBsigsuspend\fP(2), \fBsigsetops\fP(3), \fBsignal\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。