Lines Matching defs:child_action
161 struct sigaction child_action;
163 child_action.sa_handler = child_handler;
164 sigemptyset(&child_action.sa_mask);
165 child_action.sa_flags = SA_NOCLDSTOP;
167 if (sigaction(SIGCHLD, &child_action, NULL) < 0) {
169 "sigaction(SIGCHLD, &child_action, NULL) failed");
184 struct sigaction child_action;
187 child_action.sa_handler = SIG_IGN;
188 sigemptyset(&child_action.sa_mask);
189 child_action.sa_flags = SA_NOCLDSTOP;
190 if (sigaction(SIGCHLD, &child_action, NULL) < 0) {
192 "sigaction(SIGCHLD, &child_action, NULL) failed");