summaryrefslogtreecommitdiff
path: root/src/thread/sem_close.c
blob: 036ee54093cfc3387e034df965a7f49c804052dc (plain) (blame)
1
2
3
4
5
6
7
#include <semaphore.h>
#include <sys/mman.h>

int sem_close(sem_t *sem)
{
	return munmap(sem, sizeof *sem);
}