rsked/main.cc
/// Signal handler function for various signals.
/// This is handled in the main loop.
///
Signal handler function for various signals.
This is handled in the main loop.
Signal handler function for various signals . This is handled in the main loop .
void my_signal_handler(int s)
{
    if ((s == SIGTERM) || (s == SIGINT) || (s==SIGQUIT)) {
        Terminate = true;
        gTermSignal = s;
    }
    else if (s == SIGUSR1) {
        Button1 = true;
    }
    else if (s == SIGHUP) {
        ReloadReq = true;
    }
}
void my_signal_handler ( int s ) { if ( ( s == SIGTERM ) || ( s == SIGINT ) || ( s == SIGQUIT ) ) { Terminate = true ; gTermSignal = s ; } else if ( s == SIGUSR1 ) { Button1 = true ; } else if ( s == SIGHUP ) { ReloadReq = true ; } }
Signal handler function for various signals.
Signal handler function for various signals .