Home | History | Annotate | Download | only in mount

Lines Matching refs:child

185 	pid_t child;
187 child = fork();
188 if (child == -1) {
192 if (child != 0) { /* parent */
195 pid = waitpid(child, &status, 0);
200 if (pid != child) {
202 child, pid);
205 die("child did not terminate cleanly\n");
259 pid_t child;
265 child = fork();
266 if (child == -1) {
270 if (child != 0) { /* parent */
273 pid = waitpid(child, &status, 0);
278 if (pid != child) {
280 child, pid);
283 die("child did not terminate cleanly\n");