# sem\_t ## **Overview** **Related Modules:** [IPC](IPC.md) **Description:** Defines semaphores. This structure is used to store semaphores. ## **Summary** ## Data Fields

Variable Name

Description

__val [4 *sizeof(long)/sizeof(int)]

volatile int 

## **Details** ## **Field Documentation** ## \_\_val ``` volatile int sem_t::__val[4 *sizeof(long)/sizeof(int)] ``` **Description:** Number of semaphores