Lines Matching refs:sem_t
46 typedef struct sem *sem_t; typedef
48 #define SEM_FAILED ((sem_t *)0)
52 int sem_init(sem_t *, int, unsigned int);
53 int sem_destroy(sem_t *);
54 sem_t *sem_open(const char *, int, ...);
55 int sem_close(sem_t *);
57 int sem_wait(sem_t *);
58 int sem_trywait(sem_t *);
59 int sem_timedwait(sem_t * __restrict, const struct timespec * __restrict);
60 int sem_post(sem_t *);
61 int sem_getvalue(sem_t * __restrict, int * __restrict);