# semaphore.h - [Overview](#section240345738165629) - [Summary](#section65980240165629) - [Data Structures](#nested-classes) - [Macros](#define-members) - [Functions](#func-members) ## **Overview** **Related Modules:** [IPC](IPC.md) **Description:** Provides functions and structures related to semaphore operations. For example, you can use the functions to create, open, close, and delete semaphores, and perform P and V operations on semaphores. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Structures
SEM_FAILED ((sem_t *)0) |
sem_destroy (sem_t *sem) |
Destroys a specified anonymous semaphore that is no longer used. |
sem_getvalue (sem_t *__restrict sem, int *__restrict sval) |
|
sem_timedwait (sem_t *__restrict sem, const struct timespec *__restrict timeout) |
|
sem_trywait (sem_t *sem) |
|
sem_unlink (const char *name) |
|