Home | History | Annotate | Download | only in semctl

Lines Matching refs:semctl

28  *	semctl(2) semget(2)
71 if ((status = semctl(semid, 0, IPC_STAT, arg)) == -1) {
72 tst_resm(TFAIL, "semctl() failed errno = %d", errno);
73 semctl(semid, 1, IPC_RMID, arg);
106 if ((status = semctl(semid, 0, GETVAL, arg)) == -1) {
107 tst_resm(TFAIL, "semctl(GETVAL) failed errno = %d", errno);
111 if ((status = semctl(semid, 0, SETVAL, arg)) == -1) {
112 tst_resm(TFAIL, "SEMCTL(SETVAL) failed errno = %d", errno);
115 if ((status = semctl(semid, 0, GETVAL, arg)) == -1) {
116 tst_resm(TFAIL, "semctl(GETVAL) failed errno = %d", errno);
123 if ((status = semctl(semid, 0, GETPID, arg)) == -1) {
124 tst_resm(TFAIL, "semctl(GETPID) failed errno = %d", errno);
132 if ((status = semctl(semid, 0, GETNCNT, arg)) == -1) {
133 tst_resm(TFAIL, "semctl(GETNCNT) failed errno = %d", errno);
140 if ((status = semctl(semid, 0, GETZCNT, arg)) == -1) {
141 tst_resm(TFAIL, "semctl(GETZCNT) failed errno = %d", errno);