diff options
Diffstat (limited to 'src/client_signals.c')
-rw-r--r-- | src/client_signals.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/client_signals.c b/src/client_signals.c index 3184275..1202a48 100644 --- a/src/client_signals.c +++ b/src/client_signals.c @@ -27,7 +27,13 @@ #include <stdlib.h> - void +/* + * Function name: client_sig_int + * Description: Function responsible for handling SIG_INT. + * Arguments: signo - the signal number + */ + +void client_sig_int(int signo) { #ifdef HAVE_LIBPTHREAD @@ -40,3 +46,15 @@ client_sig_int(int signo) exit(0); } +/* + * Function name: client_sig_alrm + * Description: Function responsible for handling SIG_ALRM. + * Arguments: signo - the signal number + */ + +void +client_sig_alrm(int signo) +{ + aflog(LOG_T_MAIN, LOG_I_DEBUG, + "Received SIGALRM"); +} |