Searched refs:set_sig_handler (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 68 SigHandler *set_sig_handler(int sig, SigHandler *handler); 92 (void) set_sig_handler(SIGTERM, SIG_IGN); in quit_daemon() 109 set_sig_handler(int sig, SigHandler *handler) in set_sig_handler() function 199 (void) set_sig_handler(SIGTERM, (SigHandler *)quit_daemon); in init_daemon() 200 (void) set_sig_handler(SIGQUIT, (SigHandler *)quit_daemon); in init_daemon() 201 (void) set_sig_handler(SIGINT, (SigHandler *)quit_daemon); in init_daemon() 202 (void) set_sig_handler(SIGCHLD, SIG_IGN); in init_daemon()
|
/titanic_44/usr/src/cmd/acpihpd/ |
H A D | acpihpd.c | 66 static int set_sig_handler(int, sig_handler_t *); 190 if (set_sig_handler(SIGTERM, (sig_handler_t *)daemon_quit) != 0) { in daemon_init() 195 if (set_sig_handler(SIGQUIT, (sig_handler_t *)daemon_quit) != 0) { in daemon_init() 200 if (set_sig_handler(SIGINT, (sig_handler_t *)daemon_quit) != 0) { in daemon_init() 205 if (set_sig_handler(SIGCHLD, SIG_IGN) != 0) { in daemon_init() 222 (void) set_sig_handler(SIGTERM, SIG_IGN); in daemon_quit() 235 set_sig_handler(int sig, sig_handler_t *handler) in set_sig_handler() function
|