HomeSort by relevance Sort by last modified time
    Searched defs:pid (Results 401 - 425 of 1842) sorted by null

<<11121314151617181920>>

  /external/ltp/testcases/kernel/syscalls/waitpid/
waitpid09.c 25 * waitpid(pid, WNOHANG) should return 0 if there is a running child
27 * waitpid(pid, WNOHANG) should return the pid of the child if
45 static void cleanup_pid(pid_t pid)
47 if (pid > 0) {
48 kill(pid, SIGKILL);
49 waitpid(pid, NULL, 0);
55 pid_t pid, ret; local
58 pid = SAFE_FORK();
59 if (pid == 0)
88 pid_t pid, ret; local
    [all...]
waitpid_common.h 109 pid_t pid; local
114 pid = waitpid(wp_pid, &status, wp_opts);
116 if (pid == -1) {
126 if (pid == 0) {
137 "Pid %d: expected SIGSTOP, got %d",
138 pid, WSTOPSIG(status));
142 tst_res(TINFO, "Sending SIGCONT to %d", pid);
144 if (kill(pid, SIGCONT) < 0) {
146 "kill(%d, SIGCONT) failed", pid);
154 if (pid == children[i])
    [all...]
  /external/ltp/testcases/kernel/syscalls/write/
write05.c 80 int status, pid; local
129 if ((pid = FORK_OR_VFORK()) == 0) { /* child */
152 if (pid < 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/
2-2.c 39 int pid, sleepuntilsec; local
49 if ((pid = fork()) == 0) {
75 if (kill(pid, SIGABRT) != 0) {
9-1.c 38 int pid; local
46 if ((pid = fork()) == 0) {
93 if (kill(pid, SIGABRT) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
7-1.c 39 int pid; local
52 if ((pid = fork()) == 0) {
7-2.c 38 int pid; local
57 if ((pid = fork()) == 0) {
8-1.c 37 int pid; local
50 if ((pid = fork()) == 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_notify/
2-1.c 47 int pid; local
65 pid = fork();
66 if (pid == -1) {
71 if (pid == 0) {
9-1.c 46 int pid; local
64 pid = fork();
65 if (pid == -1) {
70 if (pid == 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
16-1.c 43 int pid, succeeded = 0; local
75 pid = fork();
76 if (pid == 0) {
103 kill(pid, SIGUSR1);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_receive/
13-1.c 45 int pid; local
59 if ((pid = fork()) != 0) {
5-1.c 46 int pid; local
60 if ((pid = fork()) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/
7-2.c 34 int pid; local
42 if ((pid = fork()) == 0) {
87 if (kill(pid, SIGABRT) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/
2-1.c 67 int pid; local
141 pid = fork();
142 if (pid == -1) {
145 } else if (pid == 0) {
157 printf("parent pid : %d, child pid : %d\n", getpid(), pid);
179 if (pid > 0) {
181 if (wait(&status) != pid) {
215 if (pid == 0)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/
4-1.c 111 pid_t pid; local
116 pid = fork();
117 if (pid < 0) {
123 if (pid == 0)
127 if (pid != waitpid(pid, &child_status, 0)) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/
2-2.c 62 int pid; local
106 pid = fork();
107 if (pid == -1) {
110 } else if (pid > 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/
9-1.c 42 int pid, status; local
54 pid = fork();
55 if (pid == 0) { // child create the semaphore.
84 status = kill(pid, SIGABRT); // send signal to child
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/
7-1.c 39 int pid, status; local
54 pid = fork();
55 if (pid == 0) { // child create the semaphore.
81 status = kill(pid, SIGABRT); // send signal to child
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
10-1.c 58 pid_t pid; local
67 if ((pid = fork()) == 0) {
85 kill(pid, SIGSTOP);
96 kill(pid, SIGCONT);
104 kill(pid, SIGKILL);
105 waitpid(pid, &s, 0);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
4-1.c 42 int pid, i; local
51 pid = getpid();
57 if (sigqueue(pid, SIGTOTEST, value) != 0) {
5-1.c 42 int pid, i; local
52 pid = getpid();
57 if (sigqueue(pid, SIGTOTEST, value) != 0) {
6-1.c 8 This program verifies that if the value of pid causes signo to be
53 int pid; local
63 pid = getpid();
65 if ((return_val = sigqueue(pid, SIGTOTEST, value)) != 0) {
7-1.c 48 int pid, rtsig; local
65 pid = getpid();
70 if (sigqueue(pid, rtsig, value) != 0) {
8-1.c 43 int pid, i; local
53 pid = getpid();
58 if (sigqueue(pid, SIGTOTEST, value) != 0) {

Completed in 2247 milliseconds

<<11121314151617181920>>