Searched refs:pid (Results 101 - 125 of 2000) sorted by relevance

1234567891011>>

/netbsd-current/external/apache2/mDNSResponder/dist/mDNSShared/
H A Ddns_sd_private.h48 * pid : Process ID of the delegate
52 * Note that only one of the two arguments (pid or uuid) can be specified. If pid
53 * is zero, uuid will be assumed to be a valid value; otherwise pid will be used.
61 DNSServiceErrorType DNSSD_API DNSServiceCreateDelegateConnection(DNSServiceRef *sdRef, int32_t pid, uuid_t uuid);
72 * pid: Process ID of the application that started the name resolution which triggered
77 * if the daemon is not running. The value of the pid is undefined if the return
83 int32_t *pid
/netbsd-current/lib/libc/sys/
H A Dclock_getcpuclockid.c41 clock_getcpuclockid(pid_t pid, clockid_t *clock_id) argument
46 if (clock_getcpuclockid2(P_PID, (id_t)pid, clock_id) == -1)
/netbsd-current/external/gpl3/binutils/dist/libiberty/
H A Dpexecute.c85 pwait (int pid, int *status, int flags ATTRIBUTE_UNUSED) argument
88 --pid;
90 if (pex == NULL || pid < 0 || pid >= idx)
93 if (pid == 0 && idx == 1)
108 *status = vector[pid];
116 if (pid + 1 == idx)
123 return pid + 1;
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/
H A Dpexecute.c85 pwait (int pid, int *status, int flags ATTRIBUTE_UNUSED) argument
88 --pid;
90 if (pex == NULL || pid < 0 || pid >= idx)
93 if (pid == 0 && idx == 1)
108 *status = vector[pid];
116 if (pid + 1 == idx)
123 return pid + 1;
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/
H A Dpexecute.c85 pwait (int pid, int *status, int flags ATTRIBUTE_UNUSED) argument
88 --pid;
90 if (pex == NULL || pid < 0 || pid >= idx)
93 if (pid == 0 && idx == 1)
108 *status = vector[pid];
116 if (pid + 1 == idx)
123 return pid + 1;
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/
H A Dpexecute.c85 pwait (int pid, int *status, int flags ATTRIBUTE_UNUSED) argument
88 --pid;
90 if (pex == NULL || pid < 0 || pid >= idx)
93 if (pid == 0 && idx == 1)
108 *status = vector[pid];
116 if (pid + 1 == idx)
123 return pid + 1;
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
H A Dfork-plus-threads.c72 pid_t pid; local
74 pid = fork ();
76 if (pid > 0)
79 childs[i] = pid;
81 else if (pid == 0)
96 pid_t pid = wait (&status); local
98 if (pid == -1)
111 pid);
/netbsd-current/external/bsd/openresolv/dist/
H A Davahi-daemon.in29 : ${avahi_daemon_pidfile:=/var/run/avahi-daemon/pid}
H A Dmdnsd.in29 : ${mdnsd_pidfile:=/var/run/mdnsd/mdnsd.pid}
/netbsd-current/external/gpl3/gcc/dist/libiberty/
H A Dpexecute.c85 pwait (int pid, int *status, int flags ATTRIBUTE_UNUSED) argument
88 --pid;
90 if (pex == NULL || pid < 0 || pid >= idx)
93 if (pid == 0 && idx == 1)
108 *status = vector[pid];
116 if (pid + 1 == idx)
123 return pid + 1;
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dfork-plus-threads.c72 pid_t pid; local
74 pid = fork ();
76 if (pid > 0)
79 childs[i] = pid;
81 else if (pid == 0)
96 pid_t pid = wait (&status); local
98 if (pid == -1)
111 pid);
H A Dnext-fork-other-thread.c34 pid_t pid = FORK_FUNC (); local
36 if (pid == 0)
39 assert (pid > 0);
46 ret = waitpid (pid, &stat, 0);
49 assert (ret == pid);
/netbsd-current/external/gpl3/gdb/dist/libiberty/
H A Dpexecute.c85 pwait (int pid, int *status, int flags ATTRIBUTE_UNUSED) argument
88 --pid;
90 if (pex == NULL || pid < 0 || pid >= idx)
93 if (pid == 0 && idx == 1)
108 *status = vector[pid];
116 if (pid + 1 == idx)
123 return pid + 1;
/netbsd-current/usr.sbin/autofs/
H A Dpopen.c64 struct pid { struct
65 SLIST_ENTRY(pid) next;
67 pid_t pid; member in struct:pid
70 static SLIST_HEAD(, pid) pidlist = SLIST_HEAD_INITIALIZER(pidlist);
83 struct pid *cur, *p;
84 pid_t pid; local
96 cur = malloc(sizeof(struct pid));
118 switch (pid = fork()) {
137 log_debugx("executing \"%s\" as pid %d", command, pid);
156 pid_t pid; local
[all...]
/netbsd-current/external/mpl/bind/dist/bin/tests/system/doth/
H A Dtests_sslyze.py21 def is_pid_alive(pid):
23 os.kill(pid, 0)
31 with open(pathlib.Path("ns1", "named.pid"), encoding="utf-8") as pidfile:
32 pid = int(pidfile.read())
36 if not is_pid_alive(pid):
37 pytest.skip(f"ns1 (PID: {pid}) is not running")
57 assert is_pid_alive(pid), f"ns1 (PID: {pid}) exited prematurely"
/netbsd-current/external/cddl/dtracetoolkit/dist/Bin/
H A Dtcpsnoop20 # USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
28 # -p pid # PID to snoop
91 opt_zone=0; opt_proj=0; opt_pid=0; pid=0
99 p) opt_pid=1; pid=$OPTARG ;;
105 USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
113 -p pid # PID to snoop
141 inline int PID = '$pid';
196 tpid[(int)self->connp] = pid;
214 tpid[(int)self->connp] = pid;
356 self->pid
[all...]
H A Dtcpsnoop_snv21 # USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
29 # -p pid # PID to snoop
93 opt_zone=0; opt_proj=0; opt_pid=0; pid=0
101 p) opt_pid=1; pid=$OPTARG ;;
107 USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
115 -p pid # PID to snoop
143 inline int PID = '$pid';
198 tpid[(int)self->connp] = pid;
216 tpid[(int)self->connp] = pid;
358 self->pid
[all...]
/netbsd-current/external/cddl/dtracetoolkit/dist/Net/
H A Dtcpsnoop20 # USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
28 # -p pid # PID to snoop
91 opt_zone=0; opt_proj=0; opt_pid=0; pid=0
99 p) opt_pid=1; pid=$OPTARG ;;
105 USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
113 -p pid # PID to snoop
141 inline int PID = '$pid';
196 tpid[(int)self->connp] = pid;
214 tpid[(int)self->connp] = pid;
356 self->pid
[all...]
H A Dtcpsnoop_snv21 # USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
29 # -p pid # PID to snoop
93 opt_zone=0; opt_proj=0; opt_pid=0; pid=0
101 p) opt_pid=1; pid=$OPTARG ;;
107 USAGE: tcpsnoop [-a|hjsvZ] [-n name] [-p pid]
115 -p pid # PID to snoop
143 inline int PID = '$pid';
198 tpid[(int)self->connp] = pid;
216 tpid[(int)self->connp] = pid;
358 self->pid
[all...]
/netbsd-current/tests/lib/libc/sys/
H A Dt_sigaction.c69 wait_and_check_child(const pid_t pid, const char *fail_message) argument
73 (void)waitpid(pid, &status, 0);
115 const pid_t pid = fork(); local
116 if (pid == -1)
118 else if (pid == 0)
121 wait_and_check_child(pid, "Child process did not exit cleanly;"
133 const pid_t pid = fork(); local
134 if (pid == -1)
136 else if (pid == 0)
139 wait_and_check_child(pid, "Chil
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dinf-ptrace.c46 return ptrace (request, ptid.pid (), addr, data);
48 pid_t pid = get_ptrace_pid (ptid);
49 return ptrace (request, pid, addr, data);
108 pid_t pid = fork_inferior (exec_file, allargs, env, inf_ptrace_me, NULL,
111 ptid_t ptid (pid);
114 pid shouldn't change. */
120 gdb_startup_inferior (pid, START_INFERIOR_TRAPS_EXPECTED);
138 waitpid (inferior_ptid.pid (), &status, 0);
149 pid_t pid;
156 pid
105 pid_t pid = fork_inferior (exec_file, allargs, env, inf_ptrace_me, NULL, local
146 pid_t pid; local
209 pid_t pid = inferior_ptid.pid (); local
245 pid_t pid = inferior_ptid.pid (); local
264 pid_t pid; local
321 pid_t pid; local
[all...]
H A Driscv-nbsd-nat.c65 pid_t pid = regcache->ptid ().pid (); local
74 if (ptrace (PT_GETREGS, pid, (PTRACE_TYPE_ARG3) &regs, 0) == -1)
85 if (ptrace (PT_GETFPREGS, pid, (PTRACE_TYPE_ARG3) &fpregs, 0) == -1)
100 pid_t pid = regcache->ptid ().pid (); local
107 if (ptrace (PT_GETREGS, pid, (PTRACE_TYPE_ARG3) &regs, 0) == -1)
113 if (ptrace (PT_SETREGS, pid, (PTRACE_TYPE_ARG3) &regs, 0) == -1)
121 if (ptrace (PT_GETFPREGS, pid, (PTRACE_TYPE_ARG3) &fpregs, 0) == -1)
127 if (ptrace (PT_SETFPREGS, pid, (PTRACE_TYPE_ARG
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dgcore.in96 for pid in "$@"
104 -ex "attach $pid" -ex "gcore $prefix.$pid" -ex detach -ex quit
106 if [ -r "$prefix.$pid" ] ; then
109 echo "@GCORE_TRANSFORM_NAME@: failed to create $prefix.$pid"
H A Driscv-netbsd-nat.c65 pid_t pid = regcache->ptid ().pid (); local
74 if (ptrace (PT_GETREGS, pid, (PTRACE_TYPE_ARG3) &regs, lwp) == -1)
85 if (ptrace (PT_GETFPREGS, pid, (PTRACE_TYPE_ARG3) &fpregs, 0) == -1)
100 pid_t pid = regcache->ptid ().pid (); local
107 if (ptrace (PT_GETREGS, pid, (PTRACE_TYPE_ARG3) &regs, lwp) == -1)
113 if (ptrace (PT_SETREGS, pid, (PTRACE_TYPE_ARG3) &regs, lwp) == -1)
121 if (ptrace (PT_GETFPREGS, pid, (PTRACE_TYPE_ARG3) &fpregs, lwp) == -1)
127 if (ptrace (PT_SETFPREGS, pid, (PTRACE_TYPE_ARG
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/nat/
H A Dlinux-procfs.c25 /* Return the TGID of LWPID from /proc/pid/status. Returns -1 if not
54 /* Return the TGID of LWPID from /proc/pid/status. Returns -1 if not
127 linux_proc_pid_get_state (pid_t pid, int warn, enum proc_state *state) argument
132 xsnprintf (buffer, sizeof (buffer), "/proc/%d/status", (int) pid);
155 linux_proc_pid_is_gone (pid_t pid) argument
160 have_state = linux_proc_pid_get_state (pid, 0, &state);
180 linux_proc_pid_has_state (pid_t pid, enum proc_state state, int warn) argument
185 have_state = linux_proc_pid_get_state (pid, warn, &cur_state);
193 linux_proc_pid_is_stopped (pid_t pid) argument
195 return linux_proc_pid_has_state (pid, PROC_STATE_STOPPE
202 linux_proc_pid_is_trace_stopped_nowarn(pid_t pid) argument
211 linux_proc_pid_is_zombie_maybe_warn(pid_t pid, int warn) argument
219 linux_proc_pid_is_zombie_nowarn(pid_t pid) argument
227 linux_proc_pid_is_zombie(pid_t pid) argument
242 pid_t pid = ptid.pid (); local
275 linux_proc_attach_tgid_threads(pid_t pid, linux_proc_attach_lwp_func attach_lwp) argument
333 linux_proc_task_list_dir_exists(pid_t pid) argument
345 linux_proc_pid_to_exec_file(int pid) argument
[all...]

Completed in 338 milliseconds

1234567891011>>