Searched refs:pid (Results 1 - 25 of 1099) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dwatch-vfork.c25 int pid; local
27 pid = vfork ();
28 if (pid == -1)
32 else if (pid != 0)
34 global = &pid;
H A Dfoll-vfork.c10 int pid; local
12 pid = vfork ();
13 if (pid == 0) {
18 printf ("I'm the proud parent of child #%d!\n", pid);
H A Dfoll-fork.c22 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 Dslapd-stop7 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 Dnbsd-nat.h27 extern char *nbsd_pid_to_exec_file (int pid);
H A Dgdb_gcore.sh27 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 Dnanny.pl22 $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 Dleaks-kill.sh4 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 Dpr43417.c12 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 Dtk.pl4 unless ($pid = fork) {
17 waitpid($pid, 0);
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/test-programs/
H A Dfork_test.sh42 ${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 Dfork_test.sh42 ${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 DLint_ptrace.c12 ptrace(request, pid, addr, data)
14 pid_t pid;
/netbsd-6-1-5-RELEASE/sys/arch/hpc/hpc/
H A Dplatid_test.c43 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 Dplatid.c53 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 Dat91pmcvar.h32 void at91pmc_peripheral_clock(int pid, int enable);
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/examples/hello-sh/
H A Dhello.sh17 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 Dctl-amd.in25 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 Dnot.c10 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 Deisareg.h90 #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 Dsetpgrp.c45 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 Dkilled.c25 int pid; variable
30 kill (pid, SIGKILL);
39 pid = getpid ();
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dwaitpid.c11 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 Dlvm-exec.c53 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 Dwaitpid.c35 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)

Completed in 440 milliseconds

1234567891011>>