FreeBSD/usr.sbin/watchdogd/watchdogd.c
/*
 * Catch signals and begin shutdown process.
 */
Catch signals and begin shutdown process.
Catch signals and begin shutdown process .
static void
sighandler(int signum)
{
	if (signum == SIGINT || signum == SIGTERM)
		end_program = 1;
}
static void sighandler ( int signum ) { if ( signum == SIGINT || signum == SIGTERM ) end_program = 1 ; }
Catch signals and begin shutdown process.
Catch signals and begin shutdown process .