| /openbsd/src/regress/sys/kern/kqueue/ |
| D | kqueue-process.c | 30 pid_t pid, pid2; in do_process() local 75 pid2 = -1; in do_process() 84 pid2 = ke.ident; in do_process() 85 fprintf(stderr, "child %d (from %d)\n", pid2, pid); in do_process() 100 ASSX(pid2 != -1); in do_process() 130 ASSX((pid_t)ke.ident == pid2); in do_process() 131 fprintf(stderr, "child-child exec/exit %d\n", pid2); in do_process()
|
| /openbsd/src/gnu/usr.bin/perl/t/op/ |
| D | getpid.t | 30 my $pid2 : shared = 0; 33 new threads( sub { ($pid2, $ppid2) = ($$, getppid()); } ) -> join(); 47 … isnt($pid, $pid2, "getpid() in a thread is different from the parent on this non-POSIX system"); 50 is($pid, $pid2, 'getpid() in a thread is the same as in the parent');
|
| D | getppid.t | 62 my $pid2 = fork; defined $pid2 or die "fork: $!\n"; 63 if ($pid2) {
|
| /openbsd/src/gnu/usr.bin/perl/t/io/ |
| D | openpid.t | 62 ok( $pid2 = open(FH2, "$cmd2 |"), ' second' ); 66 ok( $pid2 = open(FH2, "-|", @cmd2), ' second' ); 74 print "# pids were $pid1, $pid2, $pid3, $pid4\n"; 91 $kill_cnt = kill $killsig, $pid2, $pid3;
|
| /openbsd/src/regress/sys/kern/syscall_segment/main/ |
| D | syscall_main.c | 16 pid_t pid2 = gadget_getpid(); in main() local 17 if (pid == pid2) in main()
|
| /openbsd/src/regress/sys/kern/syscall_segment/lib/ |
| D | syscall_library.c | 17 pid_t pid2 = gadget_getpid(); in main() local 18 if (pid == pid2) in main()
|
| /openbsd/src/usr.sbin/pkg_add/OpenBSD/ |
| D | PackageRepository.pm | 192 if (defined $object->{pid2}) { 194 kill HUP => $object->{pid2}; 197 waitpid($object->{pid2}, 0); 675 my $pid2 = fork(); 676 $self->did_it_fork($pid2); 677 if ($pid2) { 678 $object->{pid2} = $pid2;
|
| D | PackageLocation.pm | 273 delete $self->{pid2};
|
| /openbsd/src/gnu/lib/libiberty/src/testsuite/ |
| D | test-pexecute.c | 380 int pid1, pid2; in main() local 401 pid2 = pexecute ("./test-pexecute", subargv, "test-pexecute", "temp", in main() 403 if (pid2 < 0) in main() 415 if (pwait (pid2, &status, 0) < 0) in main()
|
| /openbsd/src/regress/sys/kern/flock/ |
| D | flock.c | 422 int pid1, pid2; in test6() local 452 pid2 = fork(); in test6() 453 if (pid2 < 0) in test6() 456 if (pid2 == 0) { in test6() 490 safe_kill(pid2, SIGTERM); in test6() 491 safe_waitpid(pid2); in test6()
|
| /openbsd/src/gnu/usr.bin/perl/ |
| D | util.c | 2617 int pid2, status; in Perl_my_popen_list() local 2622 pid2 = wait4pid(pid, &status, 0); in Perl_my_popen_list() 2623 } while (pid2 == -1 && errno == EINTR); in Perl_my_popen_list() 2800 int pid2, status; in Perl_my_popen() local 2805 pid2 = wait4pid(pid, &status, 0); in Perl_my_popen() 2806 } while (pid2 == -1 && errno == EINTR); in Perl_my_popen() 3143 Pid_t pid2 = 0; in Perl_my_pclose() local 3174 pid2 = wait4pid(pid, &status, 0); in Perl_my_pclose() 3175 } while (pid2 == -1 && errno == EINTR); in Perl_my_pclose() 3182 ? pid2 < 0 ? pid2 : status == 0 ? 0 : (errno = 0, status) in Perl_my_pclose()
|
| /openbsd/src/gnu/lib/libreadline/ |
| D | aclocal.m4 | 1222 int pid1, pid2, fds[2]; 1240 switch (pid2 = fork()) { 1249 setpgid(pid2, pid1);
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | aix-thread.c | 596 int pid1, pid2; in ptid_cmp() local
|