Home
last modified time | relevance | path

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

/openbsd/usr.bin/cu/
H A Dcu.c64 void signal_event(int, short, void *);
207 signal_set(&sigterm_ev, SIGTERM, signal_event, NULL); in main()
209 signal_set(&sighup_ev, SIGHUP, signal_event, NULL); in main()
241 signal_event(int fd, short events, void *data) in signal_event() function
/openbsd/usr.sbin/nsd/
H A Dserver.c2408 struct event signal_event, cmd_event; in server_reload() local
2544 event_set(&signal_event, SIGCHLD, EV_SIGNAL|EV_PERSIST, in server_reload()
2546 if(event_base_set(cb_data.base, &signal_event) != 0 in server_reload()
2547 || event_add(&signal_event, NULL) != 0) { in server_reload()
2563 event_del(&signal_event); in server_reload()
3214 struct event cmd_event, signal_event, exit_event; in server_verify() local
3257 event_set(&signal_event, SIGCHLD, EV_SIGNAL|EV_PERSIST, verify_handle_signal, nsd); in server_verify()
3258 if(event_base_set(nsd->event_base, &signal_event) != 0 || in server_verify()
3259 signal_add(&signal_event, NULL) != 0) in server_verify()
3318 event_del(&signal_event); in server_verify()