projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
type directives for x86_64 math asm
[musl]
/
src
/
ipc
/
shmget.c
1
#include <sys/shm.h>
2
#include "syscall.h"
3
#include "ipc.h"
4
5
int shmget(key_t key, size_t size, int flag)
6
{
7
#ifdef SYS_shmget
8
return syscall(SYS_shmget, key, size, flag);
9
#else
10
return syscall(SYS_ipc, IPCOP_shmget, key, size, flag);
11
#endif
12
}