Home
last modified time | relevance | path

Searched refs:childpid (Results 1 – 7 of 7) sorted by relevance

/openbsd/src/sbin/dump/
Dtape.c567 pid_t childpid; in startnewtape() local
583 childpid = fork(); in startnewtape()
584 if (childpid == -1) { in startnewtape()
588 if (childpid != 0) { in startnewtape()
598 tapeno+1, parentpid, childpid); in startnewtape()
600 while ((waitingpid = wait(&status)) != childpid) in startnewtape()
602 parentpid, childpid, waitingpid); in startnewtape()
605 childpid, status&0xFF); in startnewtape()
611 msg("Child %d finishes X_FINOK\n", childpid); in startnewtape()
614 msg("Child %d finishes X_ABORT\n", childpid); in startnewtape()
[all …]
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dinfttrace.h29 extern int hpux_has_forked (int pid, int *childpid);
30 extern int hpux_has_vforked (int pid, int *childpid);
Dhppah-nat.c1190 hpux_has_forked (int pid, int *childpid) in hpux_has_forked() argument
1194 *childpid = 0; in hpux_has_forked()
1212 *childpid = ptrace_state.pe_other_pid; in hpux_has_forked()
1221 hpux_has_vforked (int pid, int *childpid) in hpux_has_vforked() argument
1225 *childpid = 0; in hpux_has_vforked()
1244 *childpid = ptrace_state.pe_other_pid; in hpux_has_vforked()
Dinfttrace.c3350 hpux_has_forked (int tid, int *childpid) in hpux_has_forked() argument
3381 *childpid = ttrace_state.tts_u.tts_fork.tts_fpid; in hpux_has_forked()
3391 hpux_has_vforked (int tid, int *childpid) in hpux_has_vforked() argument
3420 *childpid = ttrace_state.tts_u.tts_fork.tts_fpid; in hpux_has_vforked()
/openbsd/src/gnu/usr.bin/perl/cygwin/
Dcygwin.c34 int childpid, result, status; in do_spawnvp() local
38 childpid = spawnvp(_P_NOWAIT,path,argv); in do_spawnvp()
39 if (childpid < 0) { in do_spawnvp()
46 result = wait4pid(childpid, &status, 0); in do_spawnvp()
/openbsd/src/gnu/usr.bin/perl/
Dpp_sys.c4477 Pid_t childpid; variable
4489 childpid = PerlProc_fork();
4490 if (childpid == 0) {
4504 if (childpid < 0)
4506 if (!childpid) {
4514 PUSHi(childpid);
4518 Pid_t childpid;
4522 childpid = PerlProc_fork();
4523 if (childpid == -1)
4525 else if (childpid) {
[all …]
/openbsd/src/gnu/usr.bin/perl/win32/
Dwin32.c3552 int childpid; in do_popen() local
3604 if ((childpid = do_spawn2_handles(aTHX_ command, EXECF_SPAWN_NOWAIT, handles)) == -1) in do_popen()
3622 if ((childpid = do_spawnvp_handles(P_NOWAIT, exe_name, args_pvs, handles)) == -1) { in do_popen()
3629 sv_setiv(*av_fetch(w32_fdpid, p[parent], TRUE), childpid); in do_popen()
3632 PL_forkprocess = childpid; in do_popen()
3673 int childpid, status; in win32_pclose()
3679 childpid = SvIVX(sv); in win32_pclose()
3681 childpid = 0; in win32_pclose()
3683 if (!childpid) { in win32_pclose()
3695 if (win32_waitpid(childpid, &status, 0) == -1) in win32_pclose()