Searched defs:sem (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libc/port/rt/
H A Dsem.c44 char sad_name[PATH_MAX + 1]; /* name of sem object */
58 sem_t *sem = NULL; local
129 /* new sem descriptor to be allocated and new address to be mapped */
136 sem = (sem_t *)mmap64(NULL, sizeof (sem_t), PROT_READ|PROT_WRITE,
140 if (sem == MAP_FAILED)
146 error = sema_init((sema_t *)sem, value, USYNC_PROCESS, 0);
158 next->sad_addr = sem;
162 return (sem);
174 (void) munmap((caddr_t)sem, sizeof (sem_t));
181 sem_close(sem_t *sem) argument
232 sem_invalid(sem_t *sem) argument
242 sem_init(sem_t *sem, int pshared, uint_t value) argument
255 sem_destroy(sem_t *sem) argument
269 sem_post(sem_t *sem) argument
283 sem_wait(sem_t *sem) argument
297 sem_timedwait(sem_t *sem, const timespec_t *abstime) argument
313 sem_reltimedwait_np(sem_t *sem, const timespec_t *reltime) argument
329 sem_trywait(sem_t *sem) argument
345 sem_getvalue(sem_t *sem, int *sval) argument
[all...]

Completed in 20 milliseconds