Lines Matching defs:action
190 struct sigaction action = {};
191 action.sa_flags = SA_SIGINFO,
192 action.sa_sigaction = [](int, siginfo_t*, void*) {
196 int ret = sigaction(SIGALRM, &action, &oldaction);
363 struct sigaction action = {};
364 action.sa_flags = SA_RESTART;
365 action.sa_handler = [](int signal) {
372 if (!ret) ret = sigaction(SIGHUP, &action, NULL);
373 if (!ret) ret = sigaction(SIGINT, &action, NULL);
374 if (!ret) ret = sigaction(SIGQUIT, &action, NULL);
375 if (!ret) ret = sigaction(SIGTERM, &action, NULL);
376 if (!ret) ret = sigaction(SIGALRM, &action, NULL);