Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
ad1cd43a86645ba2d4f7c8747240452a349d6bc1
/
.
/
src
/
ipc
/
msgget.c
blob: 9dfbc4eabc4b9d6017f6f48585143ae9433a6280 [
file
] [
log
] [
blame
]
#include
<sys/msg.h>
#include
"syscall.h"
#include
"ipc.h"
int
msgget
(
key_t
k
,
int
flag
)
{
#ifdef
SYS_msgget
return
syscall
(
SYS_msgget
,
k
,
flag
);
#else
return
syscall
(
SYS_ipc
,
IPCOP_msgget
,
k
,
flag
);
#endif
}