optimize pthread termination in the non-detached case
[musl] / src / thread / sem_close.c
1 #include <semaphore.h>
2 #include <sys/mman.h>
3
4 int sem_close(sem_t *sem)
5 {
6         return munmap(sem, sizeof *sem);
7 }