struct ipc_perm sem_perm Operation permission structure. unsigned short sem_nsems Number of semaphores in set. time_t sem_otime Last semop () time. time_t sem_ctime Last time changed by semctl ().
unsigned short semval Semaphore value. pid_t sempid Process ID of last operation. unsigned short semncnt Number of processes waiting for semval to become greater than current value. unsigned short semzcnt Number of processes waiting for semval to become 0.
unsigned short sem_num Semaphore number. short sem_op Semaphore operation. short sem_flg Operation flags.
int semctl(int, int, int, ...); int semget(key_t, int, int); int semop(int, struct sembuf *, size_t);
|2003||IEEE/The Open Group|