Home
last modified time | relevance | path

Searched refs:set_sig_handler (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c66 SigHandler *set_sig_handler(int sig, SigHandler *handler);
90 (void) set_sig_handler(SIGTERM, SIG_IGN); in quit_daemon()
107 set_sig_handler(int sig, SigHandler *handler) in set_sig_handler() function
197 (void) set_sig_handler(SIGTERM, (SigHandler *)quit_daemon); in init_daemon()
198 (void) set_sig_handler(SIGQUIT, (SigHandler *)quit_daemon); in init_daemon()
199 (void) set_sig_handler(SIGINT, (SigHandler *)quit_daemon); in init_daemon()
200 (void) set_sig_handler(SIGCHLD, SIG_IGN); in init_daemon()
/illumos-gate/usr/src/cmd/acpihpd/
H A Dacpihpd.c66 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