Return to child.c CVS log | Up to [local] / src / usr.bin / rdist |
version 1.27, 2019/06/28 13:35:03 | version 1.28, 2022/12/26 19:16:02 | ||
---|---|---|---|
|
|
||
/* Receive notification when the child exits */ | /* Receive notification when the child exits */ | ||
(void) signal(SIGCHLD, reap); | (void) signal(SIGCHLD, reap); | ||
/* Settup the new child */ | /* Setup the new child */ | ||
newchild.c_next = NULL; | newchild.c_next = NULL; | ||
newchild.c_name = childname; | newchild.c_name = childname; | ||
newchild.c_readfd = fildes[PIPE_READ]; | newchild.c_readfd = fildes[PIPE_READ]; |