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

1234567891011>>

/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dfoll-vfork-exit.c24 int pid; local
28 pid = 1;
29 pid = vfork (); /* VFORK */
30 if (pid == 0)
37 printf ("I'm the proud parent of child #%d!\n", pid);
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 Dstep-over-fork.c27 int pid; local
29 pid = fork ();
30 if (pid == 0) /* child */
38 pid = fork ();
39 if (pid == 0) /* child */
47 pid = fork ();
48 if (pid == 0) /* child */
H A Dstep-over-vfork.c26 int pid; local
28 pid = vfork ();
29 if (pid == -1)
33 else if (pid != 0)
41 pid = vfork ();
42 if (pid == -1)
46 else if (pid != 0)
54 pid = vfork ();
55 if (pid == -1)
59 else if (pid !
[all...]
H A Dstep-over-exit.c29 int pid; local
31 pid = fork ();
32 if (pid == 0) /* child */
40 pid = fork ();
41 if (pid == 0) /* child */
H A Dkilled-outside.c21 pid_t pid; variable
31 pid = getpid ();
/netbsd-current/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 Dstep-over-fork.c27 int pid; local
29 pid = fork ();
30 if (pid == 0) /* child */
38 pid = fork ();
39 if (pid == 0) /* child */
47 pid = fork ();
48 if (pid == 0) /* child */
H A Dstep-over-vfork.c26 int pid; local
28 pid = vfork ();
29 if (pid == -1)
33 else if (pid != 0)
41 pid = vfork ();
42 if (pid == -1)
46 else if (pid != 0)
54 pid = vfork ();
55 if (pid == -1)
59 else if (pid !
[all...]
H A Dfoll-vfork-exit.c24 int pid; local
28 pid = 1;
29 pid = vfork (); /* VFORK */
30 if (pid == 0)
H A Dstep-over-exit.c29 int pid; local
31 pid = fork ();
32 if (pid == 0) /* child */
40 pid = fork ();
41 if (pid == 0) /* child */
H A Dkilled-outside.c21 pid_t pid; variable
31 pid = getpid ();
/netbsd-current/crypto/external/bsd/heimdal/dist/tests/kdc/
H A Dleaks-kill.sh4 pid=$2
6 kill $pid
8 while kill -0 $pid 2>/dev/null
13 kill kill -9 $pid 2> /dev/null
20 while kill -0 $pid 2>/dev/null
/netbsd-current/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-current/external/mpl/bind/dist/contrib/scripts/
H A Dnanny.pl16 $pid_file_location = '/var/run/named.pid';
24 $pid = 0;
26 $pid = <FILE>;
28 chomp($pid);
30 $res = kill 0, $pid;
43 if ($pid != 0) {
44 kill 15, $pid;
/netbsd-current/external/bsd/nvi/dist/perl_scripts/
H A Dtk.pl4 unless ($pid = fork) {
17 waitpid($pid, 0);
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.multi/
H A Dmulti-kill.c21 static pid_t pid; variable
31 pid = getpid ();
/netbsd-current/external/gpl3/gdb.old/dist/gdb/nat/
H A Dlinux-procfs.h24 /* Return the TGID of LWPID from /proc/pid/status. Returns -1 if not
29 /* Return the TracerPid of LWPID from /proc/pid/status. Returns -1 if
37 extern int linux_proc_pid_is_stopped (pid_t pid);
39 extern int linux_proc_pid_is_trace_stopped_nowarn (pid_t pid);
42 /proc/pid/status file results in a warning. */
44 extern int linux_proc_pid_is_zombie (pid_t pid);
49 extern int linux_proc_pid_is_zombie_nowarn (pid_t pid);
55 extern int linux_proc_pid_is_gone (pid_t pid);
71 extern void linux_proc_attach_tgid_threads (pid_t pid,
75 extern int linux_proc_task_list_dir_exists (pid_t pid);
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.multi/
H A Dmulti-kill.c21 static pid_t pid; variable
31 pid = getpid ();
/netbsd-current/external/gpl3/gdb/dist/gdb/nat/
H A Dlinux-procfs.h24 /* Return the TGID of LWPID from /proc/pid/status. Returns -1 if not
29 /* Return the TracerPid of LWPID from /proc/pid/status. Returns -1 if
37 extern int linux_proc_pid_is_stopped (pid_t pid);
39 extern int linux_proc_pid_is_trace_stopped_nowarn (pid_t pid);
42 /proc/pid/status file results in a warning. */
44 extern int linux_proc_pid_is_zombie (pid_t pid);
49 extern int linux_proc_pid_is_zombie_nowarn (pid_t pid);
55 extern int linux_proc_pid_is_gone (pid_t pid);
71 extern void linux_proc_attach_tgid_threads (pid_t pid,
75 extern int linux_proc_task_list_dir_exists (pid_t pid);
[all...]
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/bfin/
H A Dgetpid.c11 pid_t pid = getpid(); local
12 if (pid < 0) {
/netbsd-current/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...]
/netbsd-current/sys/arch/arm/at91/
H A Dat91pmcvar.h32 void at91pmc_peripheral_clock(int pid, int enable);
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/examples/hello-sh/
H A Dhello.sh17 pid=$$
18 eval_gettext "This program is running as process number \$pid."; echo
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.server/
H A Dextended-remote-restart.c48 pid_t pid; local
50 pid = fork ();
51 if (pid == -1)
54 if (pid == 0)

Completed in 316 milliseconds

1234567891011>>