HomeSort by: relevance | last modified time | path
    Searched defs:child_pid (Results 1 - 7 of 7) sorted by relevancy

  /src/lib/libwrap/
shell_cmd.c 48 int child_pid; local in function:shell_cmd
56 switch (child_pid = fork()) {
64 while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid)
  /src/sys/compat/common/
kern_exit_43.c 89 int error, status, child_pid = WAIT_ANY; local in function:compat_43_sys_wait
93 error = do_sys_wait(&child_pid, &status, 0, NULL);
95 error = do_sys_wait(&child_pid, &status,
99 error = do_sys_wait(&child_pid, &status, 0, NULL);
101 retval[0] = child_pid;
  /src/dist/pf/sbin/pflogd/
privsep.c 58 static volatile pid_t child_pid = -1; variable in typeref:typename:volatile pid_t
93 child_pid = fork();
94 if (child_pid < 0)
97 if (!child_pid) {
310 if (child_pid != -1)
311 kill(child_pid, sig);
  /src/tests/kernel/
t_sysv.c 89 pid_t child_pid; variable in typeref:typename:pid_t
237 switch ((child_pid = fork())) {
282 ATF_REQUIRE_EQ_MSG(wait_result, child_pid, "wait returned %d (%s)",
462 switch ((child_pid = fork())) {
668 switch ((child_pid = fork())) {
685 ATF_REQUIRE_EQ_MSG(wait_result, child_pid, "wait returned %d (%s)",
  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_misc.c 337 static int child_pid; variable in typeref:typename:int
355 kill(child_pid, SIGKILL);
456 child_pid = pid;
471 if (child_pid == -1)
473 while ((pid = wait(&status)) != child_pid && pid != -1);
  /src/usr.sbin/faithd/
faithd.c 347 pid_t child_pid; local in function:play_service
399 child_pid = fork();
401 if (child_pid == 0) {
412 if (child_pid == -1)
  /src/usr.sbin/lpr/lpd/
printjob.c 548 int n, fi, fo, child_pid, p[2], stopped = 0, nofile; local in function:print
717 while ((child_pid =
718 wait3(&status, WUNTRACED, 0)) > 0 && child_pid != ofilter)
753 while ((child_pid = wait(&status)) > 0 && child_pid != child)
775 printer, format, (int)child_pid, WTERMSIG(status));
1206 int i, child_pid; local in function:dofork
1210 if ((child_pid = fork()) < 0) {
1217 if (child_pid == 0) {
1229 return (child_pid);
    [all...]

Completed in 17 milliseconds