Lines Matching refs:semop
53 rc = semop(bogus_semid, NULL, bogus_nsops);
54 printf("semop(%d, NULL, %u) = %s\n",
57 rc = semop(bogus_semid, bogus_sops, 1);
58 printf("semop(%d, %p, %u) = %s\n",
69 rc = semop(bogus_semid, sem_b2, 2);
70 printf("semop(%d, [{%hu, %hd, %s%s%#hx}, %p], %u) = %s\n",
77 if (semop(id, sem_b, 1))
78 perror_msg_and_skip("semop, 1");
79 printf("semop(%d, [{0, 1, SEM_UNDO}], 1) = 0\n", id);
82 if (semop(id, sem_b, 1))
83 perror_msg_and_skip("semop, -1");
84 printf("semop(%d, [{0, -1, SEM_UNDO}], 1) = 0\n", id);