Home | History | Annotate | Download | only in pending

Lines Matching refs:child

62 static struct child_list *c_list = NULL; //fsck.type child list.
66 struct child_list *child;
68 for (child = c_list; child; child = child->next)
69 kill(child->pid, SIGTERM);
190 struct child_list *child;
231 if (!pid) xexec(args); //child, executes fsck.type
234 child = xzalloc(sizeof(struct child_list)); //Parent, add to child list.
235 child->dev_name = xstrdup(finfo->device);
236 child->prog_name = args[0];
237 child->pid = pid;
240 child->next = c_list;
241 c_list = child;
243 c_list = child;
244 child->next =NULL;
248 // for_all = 1; wait for all child to exit
265 else if (errno == ECHILD) break; //No child to wait, break and return status.
281 perror_msg("child Term. by sig: %d\n",(WTERMSIG(status)));