/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
H A D | watch-vfork.c | 25 int pid; local 27 pid = vfork (); 28 if (pid == -1) 32 else if (pid != 0) 34 global = &pid;
|
H A D | foll-vfork.c | 10 int pid; local 12 pid = vfork (); 13 if (pid == 0) { 18 printf ("I'm the proud parent of child #%d!\n", pid);
|
H A D | foll-fork.c | 22 int pid; local 25 pid = fork (); 26 if (pid == 0) /* set breakpoint here */ 35 /* printf ("I'm the proud parent of child #%d!\n", pid); */
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/tests/ldap/ |
H A D | slapd-stop | 7 if [ -f slapd.pid ]; then 8 kill `cat slapd.pid` 11 if [ -f slapd.pid ]; then 12 kill -9 `cat slapd.pid` 13 rm -f slapd.pid
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | nbsd-nat.h | 27 extern char *nbsd_pid_to_exec_file (int pid);
|
H A D | gdb_gcore.sh | 27 echo "usage: gcore [-o filename] pid" 39 echo "usage: gcore [-o filename] pid" 44 # Shift over to start of pid list 52 for pid in $* 58 -ex "attach $pid" -ex "gcore $name.$pid" -ex detach -ex quit 60 if [ -r $name.$pid ] ; then 63 echo gcore: failed to create $name.$pid
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/nanny/ |
H A D | nanny.pl | 22 $pid_file_location = '/var/run/named.pid'; 30 $pid = 0; 32 $pid = <FILE>; 34 chomp($pid); 36 $res = kill 0, $pid; 49 if ($pid != 0) { 50 kill 15, $pid;
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/tests/kdc/ |
H A D | leaks-kill.sh | 4 pid=$2 9 echo "leaks check on $name ($pid)" 10 leaks $pid > leaks-log 2>&1 || \ 13 grep "Process $pid: 0 leaks for 0 total leaked bytes" leaks-log > /dev/null || \ 20 kill $pid 22 kill -9 $pid 2> /dev/null
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/sh/ |
H A D | pr43417.c | 12 int pid; local 22 pid = fork (); 23 while ((pid != 0) && (maxbytes > 1024 * 1024 * 1024)) 26 pid = fork (); 27 if (pid != 0) 29 pid_list[i] = pid;
|
/netbsd-6-1-5-RELEASE/dist/nvi/perl_scripts/ |
H A D | tk.pl | 4 unless ($pid = fork) { 17 waitpid($pid, 0);
|
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/test-programs/ |
H A D | fork_test.sh | 42 ${h} -s $(atf_get_srcdir) -v pidfile=$(pwd)/pid \ 45 echo "Waiting for pid file for test program ${ppid}" 46 while test ! -f pid; do sleep 1; done 47 pid=$(cat pid) 48 echo "Test case's pid is ${pid}" 49 kill -STOP ${pid} 52 kill -CONT ${pid} 55 rm -f pid don [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/test-programs/ |
H A D | fork_test.sh | 42 ${h} -s $(atf_get_srcdir) -v pidfile=$(pwd)/pid \ 45 echo "Waiting for pid file for test program ${ppid}" 46 while test ! -f pid; do sleep 1; done 47 pid=$(cat pid) 48 echo "Test case's pid is ${pid}" 49 kill -STOP ${pid} 52 kill -CONT ${pid} 55 rm -f pid don [all...] |
/netbsd-6-1-5-RELEASE/lib/libc/sys/ |
H A D | Lint_ptrace.c | 12 ptrace(request, pid, addr, data) 14 pid_t pid;
|
/netbsd-6-1-5-RELEASE/sys/arch/hpc/hpc/ |
H A D | platid_test.c | 43 platid_t pid; local 47 memset((char*)&pid, 0, sizeof(pid)); 48 pid.s.cpu_arch = ~0; 49 if (pid.dw.dw0 != PLATID_CPU_ARCH_MASK && err_count++ || verbose) { 50 platid_hton(&pid); 51 platid_dump("cpu_arch", &pid); 55 memset((char*)&pid, 0, sizeof(pid)); 56 pid 243 platid_t pid = platid_unknown; local [all...] |
H A D | platid.c | 53 platid_ntoh(platid_t *pid) argument 56 pid->dw.dw0 = ntohl(pid->dw.dw0); 57 pid->dw.dw1 = ntohl(pid->dw.dw1); 61 platid_hton(platid_t *pid) argument 64 pid->dw.dw0 = htonl(pid->dw.dw0); 65 pid->dw.dw1 = htonl(pid 85 platid_match(platid_t *pid, platid_mask_t *mask) argument 92 platid_match_sub(platid_t *pid, platid_mask_t *mask, int unknown_is_match) argument 123 platid_name(platid_t *pid) argument 135 platid_search_data(platid_t *pid, struct platid_data *datap) argument 147 platid_search(platid_t *pid, void *base, int nmemb, int size) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arm/at91/ |
H A D | at91pmcvar.h | 32 void at91pmc_peripheral_clock(int pid, int enable);
|
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/examples/hello-sh/ |
H A D | hello.sh | 17 pid=$$ 18 eval_gettext "This program is running as process number \$pid."; echo
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/scripts/ |
H A D | ctl-amd.in | 25 pid=`amq -p 2>/dev/null` 26 if test "$pid" != "" 28 kill $pid 34 pid=`${pscmd} 2>/dev/null | grep "$1" | sed -e 's/^ *//' -e 's/ .*//'` 35 if test "$pid" != "" 37 kill $pid 43 pid=`${pscmd} 2>/dev/null | grep "$1" | sed -e 's/^ *//' -e 's/ .*//'` 44 if test "$pid" != "" 46 kill $pid 52 pid [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/test/ |
H A D | not.c | 10 pid_t pid; local 19 pid = fork(); 20 if (pid == -1) { 23 } else if (pid == 0) { /* child */ 28 waitpid(pid, &status, 0); 33 pid, WTERMSIG(status));
|
/netbsd-6-1-5-RELEASE/sys/dev/eisa/ |
H A D | eisareg.h | 90 #define EISA_PRODID_0(pid) \ 91 (HEXDIGITS[(((pid)[0] >> 4) & 0xf)]) 92 #define EISA_PRODID_1(pid) \ 93 (HEXDIGITS[(((pid)[0] >> 0) & 0xf)]) 94 #define EISA_PRODID_2(pid) \ 95 (HEXDIGITS[(((pid)[1] >> 4) & 0xf)]) 96 #define EISA_PRODID_3(pid) \ 97 (HEXDIGITS[(((pid)[1] >> 0) & 0xf)])
|
/netbsd-6-1-5-RELEASE/lib/libc/compat-43/ |
H A D | setpgrp.c | 45 setpgrp(pid_t pid, pid_t pgid) argument 47 return(setpgid(pid, pgid));
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | killed.c | 25 int pid; variable 30 kill (pid, SIGKILL); 39 pid = getpid ();
|
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/ |
H A D | waitpid.c | 11 pid_t pid; member in struct:unreaped 36 pid_t waitpid (pid, status, options) 37 pid_t pid; 47 unreaped[0].pid = 0; 51 for (i = 0; unreaped[i].pid; i++) 52 if (unreaped[i].pid == pid) 55 while (unreaped[i].pid) 61 return pid; 72 if (p == 0 || p == -1 || p == pid) [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/misc/ |
H A D | lvm-exec.c | 53 pid_t pid; local 59 if ((pid = fork()) == -1) { 64 if (!pid) { 77 if (wait4(pid, &status, 0, NULL) != pid) { 78 log_error("wait4 child process %u failed: %s", pid, 84 log_error("Child %u exited abnormally", pid);
|
/netbsd-6-1-5-RELEASE/gnu/dist/diffutils/lib/ |
H A D | waitpid.c | 35 waitpid (pid_t pid, int *stat_loc, int options) argument 40 if (!options && (pid == -1 || 0 < pid)) 46 if (p && (p == pid || pid == -1)) 60 if (p == pid || pid == -1)
|