aboutsummaryrefslogtreecommitdiffhomepage
path: root/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'signal.h')
-rw-r--r--signal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/signal.h b/signal.h
index 91bddc92..3bc7527d 100644
--- a/signal.h
+++ b/signal.h
@@ -6,6 +6,8 @@ The library for various signal related issues
#ifndef FISH_SIGNALH
#define FISH_SIGNALH
+#include <signal.h>
+
/**
Get the integer signal value representing the specified signal, or
-1 of no signal was found
@@ -55,4 +57,9 @@ void signal_unblock();
*/
int signal_is_blocked();
+/**
+ Returns signals with non-default handlers
+*/
+void get_signals_with_handlers(sigset_t *set);
+
#endif