/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_spin_init/ |
H A D | 2-1.c | 54 int pid; local 101 pid = fork(); 102 if(pid == -1) 107 else if(pid > 0)
|
H A D | 2-2.c | 62 int pid; local 108 pid = fork(); 109 if(pid == -1) 114 else if(pid > 0)
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/shm_open/ |
H A D | 23-1.c | 83 int i, pid, result_fd; local 119 pid = fork(); 120 if(pid == -1){ 123 } else if(pid == 0){
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigsuspend/ |
H A D | 4-1.c | 68 pid_t pid; local 69 pid = fork(); 71 if (pid == 0) { 116 kill (pid, SIGUSR1);
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | vax-nat.c | 77 int pid; 80 pid = PIDGET (inferior_ptid); 81 u_ar0 = ptrace (PT_READ_U, pid, u_ar0_offset, 0); 76 int pid; local
|
/haiku-fatelf/src/tests/system/benchmarks/ |
H A D | forkbench.c | 27 int pid, child, status, brksize; local 62 while ((pid = wait(&status)) != -1 && pid != child)
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/clock_nanosleep/ |
H A D | 1-3.c | 37 int pid; local 45 if ((pid = fork()) == 0) { 67 if (kill(pid, SIGABRT) != 0) {
|
H A D | 2-2.c | 38 int pid, sleepuntilsec; local 48 if ((pid = fork()) == 0) { 74 if (kill(pid, SIGABRT) != 0) {
|
H A D | 9-1.c | 37 int pid; local 45 if ((pid = fork()) == 0) { 91 if (kill(pid, SIGABRT) != 0) {
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_open/ |
H A D | 16-1.c | 38 int pid, succeeded=0; local 49 if ((pid = fork()) == 0) { 76 kill(pid, SIGUSR1); //tell child ready to call mq_open
|
H A D | 2-1.c | 48 int pid, ret; local 52 if ((pid = fork()) == 0) { 111 kill(pid, SIGABRT); 121 kill(pid, SIGABRT); 126 kill(pid, SIGUSR1); //tell child mq_open and mq_send finished
|
H A D | 7-2.c | 45 int pid; local 49 if ((pid = fork()) == 0) { 118 kill(pid, SIGABRT); 131 kill(pid, SIGABRT); 139 kill(pid, SIGUSR1); //tell child mq_open and mq_send finished
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/nanosleep/ |
H A D | 1-3.c | 29 int pid; local 37 if ((pid = fork()) == 0) { 59 if (kill(pid, SIGABRT) != 0) {
|
H A D | 7-1.c | 33 int pid; local 36 if ((pid = fork()) == 0) { 71 if (kill(pid, SIGABRT) != 0) {
|
H A D | 7-2.c | 35 int pid; local 43 if ((pid = fork()) == 0) { 88 if (kill(pid, SIGABRT) != 0) {
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigqueue/ |
H A D | 7-1.c | 47 int pid, rtsig; local 64 pid = getpid(); 69 if (sigqueue(pid, rtsig, value) != 0) {
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigwaitinfo/ |
H A D | 7-1.c | 42 int pid, i; local 53 pid = getpid(); 59 if (sigqueue(pid, SIGTOTEST, value) != 0) {
|
H A D | 8-1.c | 41 int pid, i; local 52 pid = getpid(); 58 if (sigqueue(pid, SIGTOTEST, value) != 0) {
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/mqueues/ |
H A D | send_rev_1.c | 33 pid_t pid; local 55 if ( 0 != (pid = fork() )) { 66 printf("Process %ld send message '%s' to process %ld \n", (long)getpid(), s_msg_ptr[i], (long)pid);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/semaphores/ |
H A D | sem_lock.c | 33 pid_t pid=0; local 53 if ((pid = fork())!=0) 58 sprintf(buf, "%d process_ID:%ld parent_process_ID:%ld child_process_ID:%ld \n", i, (long)getpid(), (long)getppid(), (long)pid);
|
/haiku-fatelf/src/bin/bash/ |
H A D | jobs.c | 96 # define WAITPID(pid, statusp, options) \ 100 # define WAITPID(pid, statusp, options) \ 101 waitpid ((pid_t)pid, statusp, options) 104 # define WAITPID(pid, statusp, options) \ 107 # define WAITPID(pid, statusp, options) \ 319 /* flags to detect pid wraparound */ 327 #define setpgid(pid, pgrp) setpgrp (pid, pgrp) 655 bgp_alloc (pid, status) 656 pid_t pid; 1686 pid_t pid; local 2129 pid_t pid; local 2592 pid_t pid; local 2901 pid_t pid; local 3029 pid_t pid; local [all...] |
/haiku-fatelf/src/system/libroot/posix/time/ |
H A D | clock_support.cpp | 147 clock_getcpuclockid(pid_t pid, clockid_t* _clockID) argument 149 if (pid < 0) 152 // The CPU clock ID for a process is simply the team ID. For pid == 0 we're 154 if (pid == 0) { 161 status_t error = _kern_get_clock(pid, µSeconds); 163 // Since pid is > 0, B_BAD_VALUE always means a team with that ID 170 *_clockID = pid;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_timedsend/ |
H A D | 16-1.c | 61 int pid; local 76 if ((pid = fork()) == 0) { 127 kill(pid, SIGUSR1); 144 kill(pid, SIGKILL); //kill child 160 kill(pid, SIGKILL); //kill child
|
H A D | 5-3.c | 58 int pid; local 72 if ((pid = fork()) == 0) { 114 kill(pid, SIGUSR1); 127 kill(pid, SIGKILL); //kill child 141 kill(pid, SIGKILL); //kill child
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_exit/ |
H A D | 6-1.c | 122 pid_t pid, chk; local 128 pid = fork(); 129 if (pid == (pid_t)-1) 133 if (pid == 0) 149 chk = waitpid(pid, &status, 0); 150 if (chk != pid) 152 output("Expected pid: %i. Got %i\n", (int)pid, (int)chk);
|