working on it
This commit is contained in:
parent
56a6e78765
commit
35a88970c2
1094 changed files with 51093 additions and 51 deletions
12
05/musl-final/src/ipc/shmdt.c
Normal file
12
05/musl-final/src/ipc/shmdt.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include <sys/shm.h>
|
||||
#include "syscall.h"
|
||||
#include "ipc.h"
|
||||
|
||||
int shmdt(const void *addr)
|
||||
{
|
||||
#ifdef __NR_shmdt
|
||||
return syscall1(__NR_shmdt, (long)addr);
|
||||
#else
|
||||
return syscall2(__NR_ipc, IPCOP_shmdt, (long)addr);
|
||||
#endif
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue