semaphore.h File Reference
API published in:
API deprecated in:
#include <_ansi.h>
#include <sys/types.h>
Go to the source code of this file.
Define Documentation
Typedef Documentation
typedef struct _sem_t* sem_t |
|
Function Documentation
IMPORT_C int sem_destroy | ( | sem_t * | sem | ) | |
|
IMPORT_C int sem_getvalue | ( | sem_t * | sem, | | | int * | sval | | ) | |
|
IMPORT_C int sem_init | ( | sem_t * | sem, | | | int | pshared, | | | unsigned int | value | | ) | |
|
IMPORT_C int sem_post | ( | sem_t * | sem | ) | |
|
IMPORT_C int sem_timedwait | ( | sem_t * | sem, | | | const struct timespec * | abstime | | ) | |
|
IMPORT_C int sem_trywait | ( | sem_t * | sem | ) | |
|
IMPORT_C int sem_wait | ( | sem_t * | sem | ) | |
|