Searched refs:pid (Results 276 - 300 of 1137) sorted by relevance

<<11121314151617181920>>

/freebsd-head/usr.sbin/cron/cron/
H A Dpopen.c66 PID_T pid; local
115 switch(pid = fork()) {
213 pids[fileno(iop)] = pid;
223 *pidptr = pid;
235 PID_T pid; local
245 while ((pid = wait(&stat_loc)) != pids[fdes] && pid != -1)
249 return (pid == -1 ? -1 : WEXITSTATUS(stat_loc));
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.h37 Attach(lldb::pid_t pid, NativeDelegate &native_delegate,
87 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr,
97 NativeProcessNetBSD(::pid_t pid, int terminal_fd, NativeDelegate &delegate,
105 void MonitorCallback(lldb::pid_t pid, int signal);
106 void MonitorExited(lldb::pid_t pid, WaitStatus status);
107 void MonitorSIGSTOP(lldb::pid_t pid);
108 void MonitorSIGTRAP(lldb::pid_t pid);
109 void MonitorSignal(lldb::pid_t pid, int signal);
/freebsd-head/contrib/llvm-project/llvm/include/llvm/
H A DPass.h84 explicit Pass(PassKind K, char &pid) : PassID(&pid), Kind(K) {} argument
224 explicit ModulePass(char &pid) : Pass(PT_Module, pid) {} argument
255 explicit ImmutablePass(char &pid) : ModulePass(pid) {} argument
284 explicit FunctionPass(char &pid) : Pass(PT_Function, pid) {} argument
/freebsd-head/contrib/gdb/gdb/
H A Dgdb_proc_service.h83 pid_t pid; member in struct:ps_prochandle
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/
H A Drwinfo.d51 /pid == 100551/
61 /i[probefunc].ts != 0 && pid == 100551/
/freebsd-head/tools/regression/priv/
H A Dpriv_sched_setpriority.c158 pid_t pid; local
163 pid = waitpid(childproc, NULL, 0);
164 if (pid == -1)
167 if (pid == childproc)
/freebsd-head/contrib/netbsd-tests/lib/libc/sys/
H A Dt_issetugid.c48 pid_t pid; local
56 pid = fork();
58 if (pid < 0)
61 if (pid == 0) {
H A Dt_setrlimit.c190 pid_t pid; local
197 pid = fork();
198 ATF_REQUIRE(pid >= 0);
200 if (pid == 0) {
263 pid_t pid; local
275 pid = fork();
277 if (buf == NULL || pid < 0)
280 if (pid == 0) {
332 pid_t pid; local
337 pid
381 pid_t pid; local
439 pid_t pid, cpid; local
[all...]
/freebsd-head/tests/sys/mqueue/
H A Dmqtest2.c32 pid_t pid; local
46 pid = fork();
47 if (pid == 0) { /* child */
76 } else if (pid == -1) {
/freebsd-head/contrib/openbsm/bin/auditd/
H A Daudit_warn.c45 pid_t pid; local
53 pid = fork();
54 if (pid == -1)
56 if (pid == 0) {
/freebsd-head/tools/regression/sockets/listen_kqueue/
H A Dlisten_kqueue.c54 int kq, sock, opt, pid, nev, fd; local
90 pid = fork();
91 if (pid == -1)
93 if (pid == 0) {
/freebsd-head/usr.sbin/pw/
H A Dpwupd.c61 pid_t pid; local
74 if ((pid = fork()) == -1) /* Error (errno set) */
76 else if (pid == 0) { /* Child */
80 waitpid(pid, &i, 0);
/freebsd-head/contrib/wpa/src/utils/
H A Dbrowser-android.c70 pid_t pid; local
88 pid = fork();
89 if (pid < 0) {
96 if (pid == 0) {
H A Dbrowser-wpadebug.c71 pid_t pid; local
89 pid = fork();
90 if (pid < 0) {
97 if (pid == 0) {
/freebsd-head/libexec/rc/rc.d/
H A Ddevd23 if get_pidfile_from_conf pid-file /etc/devd.conf; then
26 pidfile="/var/run/${name}.pid"
/freebsd-head/contrib/bmake/
H A Dwait.h75 # define waitpid(pid, statusp, flags) wait4(pid, statusp, flags, (char *)0)
78 # define waitpid(pid, statusp, flags) wait3(statusp, flags, (char *)0)
/freebsd-head/crypto/heimdal/kcm/
H A Dconnect.c54 peercred.pid = heim_ipc_cred_get_pid(cred);
59 peercred.pid);
70 buf[0], buf[1], peercred.pid);
/freebsd-head/crypto/openssh/
H A Dloginrec.h66 pid_t pid; /* PID of login process */ member in struct:logininfo
89 struct logininfo *login_alloc_entry(pid_t pid, const char *username,
94 int login_init_entry(struct logininfo *li, pid_t pid, const char *username,
/freebsd-head/contrib/netbsd-tests/include/sys/
H A Dt_types.c89 pid_t pid; local
98 pid = 0;
104 ATF_CHECK((pid - 1) <= 0);
/freebsd-head/lib/libutil/
H A Dpty.c93 int master, slave, pid; local
97 switch (pid = fork()) {
114 return (pid);
/freebsd-head/lib/libutil/tests/
H A Dpidfile_test.c131 pid_t other = 0, pid = 0; local
149 pid = fork();
150 if (pid == -1)
152 if (pid == 0) {
197 kill(pid, SIGTERM);
217 if (other != pid) {
226 if (kill(pid, SIGINT) != 0)
228 if (waitpid(pid, &status, 0) == -1)
272 char path[PATH_MAX], pid[32], tmpdir[PATH_MAX]; local
289 if (read(fd, pid, sizeo
[all...]
/freebsd-head/contrib/llvm-project/lldb/include/lldb/API/
H A DSBAttachInfo.h22 SBAttachInfo(lldb::pid_t pid);
69 void SetProcessID(lldb::pid_t pid);
148 void SetParentProcessID(lldb::pid_t pid);
/freebsd-head/tools/tools/usbtest/
H A Dusb_control_ep_test.c78 usb_control_ep_error_test(uint16_t vid, uint16_t pid) argument
89 pdev = find_usb_device(vid, pid);
164 usb_get_string_desc_test(uint16_t vid, uint16_t pid) argument
173 pdev = find_usb_device(vid, pid);
193 "VID=0x%04x PID=0x%04x\n", vid, pid);
239 usb_port_reset_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
255 pdev = find_usb_device(vid, pid);
309 usb_set_config_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
318 pdev = find_usb_device(vid, pid);
332 "VID=0x%04x PID=0x%04x\n", vid, pid);
368 usb_get_descriptor_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
381 usb_suspend_resume_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
471 usb_set_and_clear_stall_test(uint16_t vid, uint16_t pid) argument
607 usb_set_alt_interface_test(uint16_t vid, uint16_t pid) argument
[all...]
/freebsd-head/contrib/kyua/utils/process/
H A Dexecutor.cpp129 int pid; member in struct:utils::process::executor::exec_handle::impl
175 pid(pid_),
209 executor::exec_handle::pid(void) const function in class:executor::exec_handle
211 return _pimpl->pid;
587 const int& pid = (*iter).first; local
590 process::terminate_group(pid);
592 if (::waitpid(pid, &status, 0) == -1) {
594 LW(F("Failed to wait for PID %s") % pid);
663 data.pid(),
768 child->pid(),
[all...]
/freebsd-head/tools/regression/capsicum/syscalls/
H A Dcap_fcntls_limit.c414 pid_t pid; local
432 CHECK((pid = fork()) >= 0);
433 if (pid == 0) {
438 CHECK(waitpid(pid, NULL, 0) == pid);
445 CHECK((pid = fork()) >= 0);
446 if (pid == 0) {
453 CHECK(waitpid(pid, NULL, 0) == pid);
459 CHECK((pid
[all...]

Completed in 79 milliseconds

<<11121314151617181920>>