summaryrefslogtreecommitdiff
path: root/signal/signal.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-04-04 15:34:33 +0000
committerUlrich Drepper <drepper@redhat.com>1997-04-04 15:34:33 +0000
commitb0b60fc2f1e1c9a778ce9142771945a9d9f0c705 (patch)
tree6883765c03e049ff4c708515b26bdf01b167f78a /signal/signal.h
parent6a11e51e2c560d592d60298b24c48e82f8cb9653 (diff)
Add sigisempty, sigorset, and sigandset
Diffstat (limited to 'signal/signal.h')
-rw-r--r--signal/signal.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/signal/signal.h b/signal/signal.h
index b1953e5133..df54e7940d 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -183,6 +183,19 @@ extern int sigdelset __P ((sigset_t *__set, int __signo));
/* Return 1 if SIGNO is in SET, 0 if not. */
extern int sigismember __P ((__const sigset_t *__set, int __signo));
+#ifdef __USE_GNU
+/* Return non-empty value is SET is not empty. */
+extern int sigisemptyset __P ((__const sigset_t *__set));
+
+/* Build new signal set by combining the two inputs set using logical AND. */
+extern int sigandset __P ((sigset_t *__set, __const sigset_t *__left,
+ __const sigset_t *__right));
+
+/* Build new signal set by combining the two inputs set using logical OR. */
+extern int sigorset __P ((sigset_t *__set, __const sigset_t *__left,
+ __const sigset_t *__right));
+#endif /* GNU */
+
/* Get the system-specific definitions of `struct sigaction'
and the `SA_*' and `SIG_*'. constants. */
#include <sigaction.h>