diff options
author | axel <axel@liljencrantz.se> | 2005-10-06 17:30:50 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-06 17:30:50 +1000 |
commit | 2d772358907757e8acca42f47269702964899b0b (patch) | |
tree | 02268965a83bf3259337e0ffc44174a06f9fb40e /signal.h | |
parent | b9b841f60319fb5838060cb724a4882ef3be9a74 (diff) |
Add additional event-handling files
darcs-hash:20051006073050-ac50b-aa386de02dab1b3b20d7cc3d8c6b6ad1be681f5d.gz
Diffstat (limited to 'signal.h')
-rw-r--r-- | signal.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/signal.h b/signal.h new file mode 100644 index 00000000..f7696611 --- /dev/null +++ b/signal.h @@ -0,0 +1,23 @@ +/** \file signal.h + +The library for various signal related issues + +*/ + +/** + Get the integer signal value representing the specified signal, or + -1 of no signal was found +*/ +int wcs2sig( const wchar_t *str ); + +/** + Get string representation of a signal +*/ +const wchar_t *sig2wcs( int sig ); + +/** + Returns a description of the specified signal. +*/ +const wchar_t *sig_description( int sig ); + +void signal_set_handlers(); |