/external/ltp/testcases/kernel/mem/ksm/ |
ksm05.c | 81 int lc, status, ret; local 110 if (waitpid(pid, &status, WUNTRACED | WCONTINUED) == -1) 112 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) 114 "invalid signal received: %d", status);
|
/external/ltp/testcases/kernel/mem/shmt/ |
shmt04.c | 70 int status; local 120 while ((pid1 = wait(&status)) < 0 && (errno == EINTR)) ; 124 "Error: wait_status = %d, pid1= %d\n", status,
|
shmt06.c | 69 int status; local 119 while ((pid1 = wait(&status)) < 0 && (errno == EINTR)) ; 123 "Error: wait_status = %d, pid1= %d\n", status,
|
/external/ltp/testcases/kernel/sched/pthreads/ |
pth_str01.h | 22 int status; /* return status of this thread */ member in struct:child_info
|
/external/ltp/testcases/kernel/syscalls/alarm/ |
alarm07.c | 87 int status; local 124 if (wait(&status) == -1) 127 if (!WIFEXITED(status) || 128 WEXITSTATUS(status) != 0)
|
/external/ltp/testcases/kernel/syscalls/chdir/ |
chdir03.c | 79 int status; local 103 wait(&status); 143 if (wait(&status) == -1) 146 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
|
/external/ltp/testcases/kernel/syscalls/chroot/ |
chroot02.c | 69 int pid, status, retval; local 101 wait(&status); 102 /* make sure the child returned a good exit status */ 103 if (WIFSIGNALED(status) || 104 (WIFEXITED(status) && WEXITSTATUS(status) != 0))
|
/external/ltp/testcases/kernel/syscalls/clone/ |
clone03.c | 62 int child_pid, status; local 107 if ((wait(&status)) == -1) 109 "wait failed, status: %d", status);
|
clone05.c | 45 int lc, status; local 67 if ((wait(&status)) == -1) 69 "wait failed, status: %d", status);
|
clone06.c | 49 int lc, status; local 94 if ((wait(&status)) == -1) 96 "wait failed, status: %d", status);
|
/external/ltp/testcases/kernel/syscalls/exit/ |
exit01.c | 40 int pid, npid, sig, nsig, exno, nexno, status; local 65 npid = wait(&status); 73 nsig = status % 256; 94 nexno = status / 256;
|
/external/ltp/testcases/kernel/syscalls/fchdir/ |
fchdir03.c | 82 int status; local 129 if (wait(&status) == -1) 132 else if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) 134 "child exited abnormally (wait status = " 135 "%d", status);
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl12.c | 61 int fd, i, status, max_files; local 96 waitpid(pid, &status, 0); 97 if (WEXITSTATUS(status) == 0)
|
fcntl18.c | 66 int pid, status; local 147 waitpid(pid, &status, 0); 148 if (WEXITSTATUS(status) != 0) { 149 tst_resm(TFAIL, "child returned bad exit status"); 194 * print timing status if that option was specified.
|
/external/ltp/testcases/kernel/syscalls/flock/ |
flock03.c | 63 int status; local 108 if ((waitpid(pid, &status, 0)) < 0) { 112 if ((WIFEXITED(status)) && (WEXITSTATUS(status) == 0))
|
flock04.c | 86 int fd, fd1, status; variable 120 } else if (wait(&status) == -1) 142 } else if (wait(&status) == -1)
|
flock05.c | 86 int fd, fd1, status; variable 125 wait(&status); 146 wait(&status);
|
/external/ltp/testcases/kernel/syscalls/fork/ |
fork03.c | 57 int pid1, pid2, status; local 90 pid2 = wait(&status); /* wait for child */ 98 if ((status >> 8) != 0) {
|
fork06.c | 55 int i, pid, status, childpid, succeed, fail; local 78 childpid = wait(&status); 88 if ((wait(&status)) == -1)
|
fork08.c | 58 int status, count, forks, pid1; local 138 wait(&status); 139 tst_resm(TINFO, "exit status of wait " 140 " expected 0 got %d", status); 141 status >>= 8; 142 if (status == 0)
|
fork09.c | 66 int pid, status, nf; local 145 wait(&status); 146 if (status >> 8 != 0)
|
fork10.c | 60 int status, pid, fildes; local 100 wait(&status); 121 (void)wait(&status); 122 if (status >> 8 != 0) {
|
fork11.c | 54 int i, pid, cpid, status; local 71 cpid = wait(&status);
|
fork12.c | 58 int ret, status; local 76 ret = waitpid(-1, &status, WNOHANG); 83 if (WTERMSIG(status) == SIGKILL) 87 WEXITSTATUS(status), WTERMSIG(status));
|
/external/ltp/testcases/kernel/syscalls/getcwd/ |
getcwd04.c | 58 int status; local 89 SAFE_WAITPID(cleanup, child, &status, 0);
|