diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-02-12 22:27:51 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-02-12 22:27:51 -0800 |
commit | 35a22ac3079f046d4443a1e56f7e9729f0aa5590 (patch) | |
tree | 2a1b4fe5abfaa0aab029ff4d94c7ad73a963f9b5 /common/os_calls.c | |
parent | 1f1fd135581a7c00d9d0c6c0a4971b7c2849ffd2 (diff) | |
download | xrdp-proprietary-35a22ac3079f046d4443a1e56f7e9729f0aa5590.tar.gz xrdp-proprietary-35a22ac3079f046d4443a1e56f7e9729f0aa5590.zip |
common: added signal for usr1
Diffstat (limited to 'common/os_calls.c')
-rw-r--r-- | common/os_calls.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index bbec959f..d98d4027 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -1919,6 +1919,17 @@ g_signal_pipe(void (*func)(int)) /*****************************************************************************/ /* does not work in win32 */ +void APP_CC +g_signal_usr1(void (*func)(int)) +{ +#if defined(_WIN32) +#else + signal(SIGUSR1, func); +#endif +} + +/*****************************************************************************/ +/* does not work in win32 */ int APP_CC g_fork(void) { |