Lines Matching defs:child
96 int child = 0; /* pid of the executed process */
97 int ChildStatus = 0; /* saved return status of child */
118 void CatchChild(int); /* handle child signals */
243 * child process continues to establish connections
445 * child - close listner transport to avoid confusion
451 printf("child server process\n");
686 if (pid == child) {
688 printf("pid==child\n");
700 /* restart child */
702 kill((-child), SIGCONT);
718 KillHelper(child);
726 * oob -- called when we should restart the stopped child.
764 if (child == 0) {
770 kill(child, SIGHUP);
791 if (child && !ChildDied) {
794 "rexd: child killed to unmount %s\r\n",
796 kill(child, SIGKILL);
814 KillHelper(child);
845 if (child) { /* already started */
847 printf("Killing \"child\" process\n");
848 kill((-child), SIGKILL); /* killpg() of SunOS 4.1.1 */
1016 * arrives, which indicates that we should send the stopped child a
1063 /* child releases the signal */
1068 printf("Before a \"child\" fork\n");
1070 child = fork();
1072 if (child < 0) {
1081 if (child) {
1091 printf("Parent ret to main loop, child does startup\n");
1099 /* child rexd */
1113 /* reopen slave so that child has controlling tty */