]> git.proxmox.com Git - wasi-libc.git/blame - libc-top-half/musl/src/ipc/shmdt.c
Update to musl 1.1.23.
[wasi-libc.git] / libc-top-half / musl / src / ipc / shmdt.c
CommitLineData
320054e8
DG
1#include <sys/shm.h>
2#include "syscall.h"
3#include "ipc.h"
4
5int shmdt(const void *addr)
6{
d4db3fa2 7#ifndef SYS_ipc
320054e8
DG
8 return syscall(SYS_shmdt, addr);
9#else
10 return syscall(SYS_ipc, IPCOP_shmdt, 0, 0, 0, addr);
11#endif
12}