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

<<11121314151617181920>>

/freebsd-11-stable/usr.sbin/kgzip/
H A Dkgzld.c56 pid_t pid; local
85 switch (pid = fork()) {
98 if ((pid = waitpid(pid, &status, 0)) == -1)
/freebsd-11-stable/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-11-stable/contrib/wpa/src/utils/
H A Dbrowser-wpadebug.c71 pid_t pid; local
89 pid = fork();
90 if (pid < 0) {
97 if (pid == 0) {
/freebsd-11-stable/release/picobsd/tinyware/oinit/
H A Doinit.c87 pid_t pid; /* pid of process running on it */ member in struct:sess
377 pid_t pid; local
422 pid_t pid; local
452 switch((pid=fork())) {
485 while(waitpid(pid,&res,0)!=pid) continue;
615 pid_t pid; local
619 if((pid=fork())==0) {
637 while(pid!
676 pid_t pid; local
773 pid_t pid,wpid; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/include/sys/
H A Dt_types.c89 pid_t pid; local
98 pid = 0;
104 ATF_CHECK((pid - 1) <= 0);
/freebsd-11-stable/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-11-stable/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-11-stable/lib/libutil/
H A Dpty.c96 int master, slave, pid; local
100 switch (pid = fork()) {
116 return (pid);
/freebsd-11-stable/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-11-stable/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-11-stable/contrib/sendmail/libsm/
H A Dt-notify.c84 pid_t pid; local
103 if ((pid = fork()) < 0)
110 if (pid == 0)
/freebsd-11-stable/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-11-stable/contrib/netbsd-tests/lib/libc/sys/
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...]
H A Dt_pipe.c50 static pid_t pid; variable
61 kill(pid, SIGINFO);
97 RL(pid = fork());
98 if (pid == 0) {
152 RL(waitpid(pid, &st, 0));
H A Dt_nanosleep.c144 pid_t pid; local
153 pid = fork();
155 ATF_REQUIRE(pid >= 0);
158 if (pid == 0) {
181 (void)kill(pid, SIGINT);
199 pid_t pid; local
205 pid = fork();
207 ATF_REQUIRE(pid >= 0);
211 if (pid == 0) {
249 ATF_REQUIRE(kill(pid, SIGINF
[all...]
/freebsd-11-stable/tools/regression/capsicum/syscalls/
H A Dcap_fcntls_limit.c408 pid_t pid; local
426 CHECK((pid = fork()) >= 0);
427 if (pid == 0) {
432 CHECK(waitpid(pid, NULL, 0) == pid);
439 CHECK((pid = fork()) >= 0);
440 if (pid == 0) {
447 CHECK(waitpid(pid, NULL, 0) == pid);
453 CHECK((pid
[all...]
/freebsd-11-stable/contrib/opie/
H A Dpopen.c186 pid_t pid; local
202 while ((pid = wait(&status)) != child_pid && (pid != -1));
209 if ((pid > 0) && WIFEXITED(status))
214 return (pid == -1 ? -1 : status.w_status);
/freebsd-11-stable/lib/libutil/tests/
H A Dflopen_test.c156 pid_t pid; local
164 pid = fork();
165 if (pid == -1) {
167 } else if (pid == 0) {
176 kill(pid, SIGINT);
/freebsd-11-stable/tests/sys/mqueue/
H A Dmqtest5.c37 pid_t pid; local
59 pid = fork();
60 if (pid == 0) { /* child */
100 } else if (pid == -1) {
115 kill(pid, SIGKILL);
H A Dmqtest3.c34 pid_t pid; local
49 pid = fork();
50 if (pid == 0) { /* child */
84 } else if (pid == -1) {
105 kill(pid, SIGKILL);
/freebsd-11-stable/tools/regression/p1003_1b/
H A Dfifo.c86 volatile long *p, pid; local
125 pid = getpid();
133 pid = getpid();
135 *p = pid;
140 *p = pid;
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DHost.h65 lldb::pid_t pid, bool exited,
88 /// \param[in] pid
99 /// was spawned to monitor \a pid.
104 lldb::pid_t pid, bool monitor_signals);
119 static void Kill(lldb::pid_t pid, int signo);
182 static bool FindProcessThreads(const lldb::pid_t pid, TidMap &tids_to_attach);
184 static bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info);
/freebsd-11-stable/tests/sys/capsicum/
H A Dioctls_test.c72 pid_t pid; local
97 pid = fork();
98 if (pid == 0) {
106 ATF_REQUIRE(pid > 0);
115 ATF_REQUIRE(wait(&status) == pid);
/freebsd-11-stable/contrib/netbsd-tests/bin/ps/
H A Dt_ps.sh94 default_keywords='pid tty stat time command'
95 j_keywords='user pid ppid pgid sess jobc state tt time command'
96 l_keywords='uid pid ppid cpu pri nice vsz rss wchan state tt time command'
97 s_keywords='uid pid ppid cpu lid nlwp pri nice vsz rss wchan lstate tt ltime command'
98 u_keywords='user pid %cpu %mem vsz rss tt state start time command'
99 v_keywords='pid state time sl re pagein vsz rss lim tsiz %cpu %mem command'
102 # Convert a list of keywords like "pid comm" to a regexp
203 "the pid column"
209 "$(echo "${default_keywords}" | sed -e 's/pid/pid
[all...]
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c105 int argc, gargc, pdes[2], pid; local
163 switch(pid = fork()) {
198 pids[fileno(iop)] = pid;
212 pid_t pid; local
227 while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
231 if (pid < 0)
232 return (pid);

Completed in 319 milliseconds

<<11121314151617181920>>