projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d1ff7c70b494b99f2f2cadcbbfe0e3b6a9a25aca
[musl]
/
src
/
ipc
/
msgctl.c
1
#include <sys/msg.h>
2
#include "syscall.h"
3
#include "ipc.h"
4
5
int msgctl(int q, int cmd, struct msqid_ds *buf)
6
{
7
#ifdef SYS_msgctl
8
return syscall(SYS_msgctl, q, cmd | 0x100, buf);
9
#else
10
return syscall(SYS_ipc, IPCOP_msgctl, q, cmd | 0x100, 0, buf, 0);
11
#endif
12
}