summaryrefslogblamecommitdiff
path: root/src/ipc/shmdt.c
blob: 2e198b3eefb8a153605fbbc2ba83d5b623bf00db (plain) (tree)
1
2
3
4
5
6
7
8
9





                           
                
                                        
     
                                                   

      
#include <sys/shm.h>
#include "syscall.h"
#include "ipc.h"

int shmdt(const void *addr)
{
#ifdef SYS_shmdt
	return syscall(SYS_shmdt, addr);
#else
	return syscall(SYS_ipc, IPCOP_shmdt, addr);
#endif
}