diff options
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) { |