Lines Matching refs:sem_t
49 typedef struct _sem sem_t;
51 #define SEM_FAILED ((sem_t *)0)
58 int sem_clockwait_np(sem_t * __restrict, __clockid_t, int,
61 int sem_close(sem_t *);
62 int sem_destroy(sem_t *);
63 int sem_getvalue(sem_t * __restrict, int * __restrict);
64 int sem_init(sem_t *, int, unsigned int);
65 sem_t *sem_open(const char *, int, ...);
66 int sem_post(sem_t *);
67 int sem_timedwait(sem_t * __restrict, const struct timespec * __restrict);
68 int sem_trywait(sem_t *);
70 int sem_wait(sem_t *);