Home | History | Annotate | Download | only in daemon

Lines Matching refs:act

216 	struct sigaction act;
218 act.sa_handler = opd_alarm;
219 act.sa_flags = 0;
220 sigemptyset(&act.sa_mask);
222 if (sigaction(SIGALRM, &act, NULL)) {
227 act.sa_handler = opd_sighup;
228 act.sa_flags = 0;
229 sigemptyset(&act.sa_mask);
230 sigaddset(&act.sa_mask, SIGALRM);
232 if (sigaction(SIGHUP, &act, NULL)) {
237 act.sa_handler = opd_sigterm;
238 act.sa_flags = 0;
239 sigemptyset(&act.sa_mask);
240 sigaddset(&act.sa_mask, SIGTERM);
242 if (sigaction(SIGTERM, &act, NULL)) {
247 act.sa_handler = opd_sigchild;
248 act.sa_flags = 0;
249 sigemptyset(&act.sa_mask);
250 sigaddset(&act.sa_mask, SIGCHLD);
252 if (sigaction(SIGCHLD, &act, NULL)) {
257 act.sa_handler = opd_sigusr1;
258 act.sa_flags = 0;
259 sigemptyset(&act.sa_mask);
260 sigaddset(&act.sa_mask, SIGTERM);
262 if (sigaction(SIGUSR1, &act, NULL)) {
267 act.sa_handler = opd_sigusr2;
268 act.sa_flags = 0;
269 sigemptyset(&act.sa_mask);
270 sigaddset(&act.sa_mask, SIGTERM);
272 if (sigaction(SIGUSR2, &act, NULL)) {