aboutsummaryrefslogtreecommitdiffhomepage
path: root/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'signal.h')
-rw-r--r--signal.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/signal.h b/signal.h
index ef491a14..d7878ae1 100644
--- a/signal.h
+++ b/signal.h
@@ -31,6 +31,19 @@ void signal_reset_handlers();
void signal_set_handlers();
/**
- Tell fish to catch the specified signal and fire an event, instead of performing the default action
+ Tell fish what to do on the specified signal.
+
+ \param sig The signal to specify the action of
+ \param do_handle If true fish will catch the specified signal and fire an event, otherwise the default action (SIG_DFL) will be set
*/
void signal_handle( int sig, int do_handle );
+
+/*
+ Block all signals
+*/
+void signal_block();
+
+/**
+ Unblock all signals
+*/
+void signal_unblock();