Home | History | Annotate | Download | only in semctl

Lines Matching defs:semid

58 int semid = -1, nsems;
71 if ((status = semctl(semid, 0, IPC_STAT, arg)) == -1) {
73 semctl(semid, 1, IPC_RMID, arg);
106 if ((status = semctl(semid, 0, GETVAL, arg)) == -1) {
111 if ((status = semctl(semid, 0, SETVAL, arg)) == -1) {
115 if ((status = semctl(semid, 0, GETVAL, arg)) == -1) {
123 if ((status = semctl(semid, 0, GETPID, arg)) == -1) {
132 if ((status = semctl(semid, 0, GETNCNT, arg)) == -1) {
140 if ((status = semctl(semid, 0, GETZCNT, arg)) == -1) {
167 if ((semid = semget(key, nsems, SEM_RA | IPC_CREAT)) == -1) {
174 rm_sema(semid);