1 .\" Copyright (c) 2005 Michael Kerrisk
2 .\" based on earlier work by faith@cs.unc.edu and
3 .\" Mike Battersby <mib@deakin.edu.au>
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date. The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein. The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" 2005-09-15, mtk, Created new page by splitting off from sigaction.2
27 .\" Japanese Version Copyright (c) 2005 Akihiro MOTOKI all rights reserved.
28 .\" Translated 2005-10-03, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
29 .\" Updated 2005-12-05, Akihiro MOTOKI, Catch up to LDP man-pages 2.16
31 .\"WORD: pending 処理待ちの
33 .TH SIGPENDING 2 2008-10-04 "Linux" "Linux Programmer's Manual"
35 sigpending \- 処理待ちのシグナルの検査
37 .B #include <signal.h>
39 .BI "int sigpending(sigset_t *" set );
43 .RB ( feature_test_macros (7)
49 _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
54 は、呼び出し元のスレッドへの配送を待っている (pending) シグナル集合
55 (すなわち、禁止中に発生したシグナル) を返す。
61 は成功すれば 0 を返し、エラーならば \-1 を返す。
66 が指しているメモリが、プロセスのアドレス空間の有効な部分ではない。
74 あるスレッドに対する処理待ちのシグナルの集合は、
75 そのスレッド自体への処理待ちのシグナル集合と、プロセス全体への処理待ちの
81 経由で作成された子プロセスの処理待ちシグナル集合は最初は空である。
83 の前後で、処理待ちシグナル集合は保持される。
85 バージョン 2.2.1 以前の glibc では、
87 のラッパー関数に、処理待ちのリアルタイムシグナルに関する情報が