Home | History | Annotate | Download | only in semctl

Lines Matching refs:semid

58 int semid = -1, nsems;
70 if ((status = semctl(semid, 0, IPC_STAT, arg)) == -1) {
72 semctl(semid, 1, IPC_RMID, arg);
105 if ((status = semctl(semid, 0, GETVAL, arg)) == -1) {
110 if ((status = semctl(semid, 0, SETVAL, arg)) == -1) {
114 if ((status = semctl(semid, 0, GETVAL, arg)) == -1) {
122 if ((status = semctl(semid, 0, GETPID, arg)) == -1) {
131 if ((status = semctl(semid, 0, GETNCNT, arg)) == -1) {
139 if ((status = semctl(semid, 0, GETZCNT, arg)) == -1) {
166 if ((semid = semget(key, nsems, SEM_RA | IPC_CREAT)) == -1) {
173 rm_sema(semid);