Lines Matching refs:child
147 * each child that performs the particular mount for the entry.
160 int sopipe[2]; /* pipe attached to child's stdout */
161 int sepipe[2]; /* pipe attached to child's stderr */
931 * each child (the stdout and stderr pipes).
1181 * Performs the exec argument processing, all of the child forking and
1182 * execing, and child cleanup.
1191 pid_t child;
1291 if ((child = fork()) == -1) {
1296 if (child == 0) { /* child */
1309 vp->pid = child;
1350 * Called by a child to attach its stdout and stderr to the write side of
1368 * the child.
1386 * Waits for 1 child to die.
1389 * Returns 0 if a child died without an error.
1390 * Returns 1 if a child died with an error.
1395 int child, wstat;
1397 if ((child = wait(&wstat)) == -1)
1400 return (cleanupkid(child, wstat) != 0);
1404 * Locates the child mount process represented by pid, outputs any io
1424 * Find our child.
1448 "%s: Unknown child %d\n"), myname, pid);