Lines Matching refs:status
33 int status;
75 if ((status = semctl(semid, 0, GETVAL)) < 0)
82 if ((status = semctl(semid, 0, SETVAL, arg)) < 0)
87 if ((status = semctl(semid, 0, GETVAL)) < 0)
92 if (status != arg.val) {
94 status, arg.val);
96 tst_res(TPASS, "semctl(GETVAL) returned %d", status);
99 if ((status = semctl(semid, 0, GETPID)) < 0)
104 if (status != getpid()) {
106 status, getpid());
108 tst_res(TPASS, "semctl(GETPID) returned %d", status);
111 if ((status = semctl(semid, 0, GETNCNT)) < 0)
116 if (status != 0)
118 status);
122 if ((status = semctl(semid, 0, GETZCNT)) < 0)
127 if (status != 0)
128 tst_res(TFAIL, "error: unexpected semzcnt %d", status);