diff options
author | axel <axel@liljencrantz.se> | 2005-10-06 21:54:16 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-06 21:54:16 +1000 |
commit | 2ac6b62df2b4ce1e2c1a8afeea1ce1c9cf4b70f4 (patch) | |
tree | 05f9769924ba068c0c673243bd5ce2b046fddcbd /signal.h | |
parent | 3b02b76c7989ff664b055316b1f1559ae99f350b (diff) |
Various updates to signal event handling
darcs-hash:20051006115416-ac50b-ab0a1be946f758cfdeaa5dfe172f417acb9b6e79.gz
Diffstat (limited to 'signal.h')
-rw-r--r-- | signal.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -20,4 +20,17 @@ const wchar_t *sig2wcs( int sig ); */ const wchar_t *sig_description( int sig ); +/** + Set all signal handlers to SIG_DFL +*/ +void signal_reset_handlers(); + +/** + Set signal handlers to fish default handlers +*/ void signal_set_handlers(); + +/** + Tell fish to catch the specified signal and fire an event, instead of performing the default action +*/ +void signal_handle( int sig, int do_handle ); |