summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/lib/msgctl.c
blob: 19ea6d8cfccd65ebb9d712534ed799781730dbc2 (plain)
1
2
3
4
5
6
7
8
9
10
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <asm/ipc.h>

extern int __ipc();

int msgctl(int msqid, int cmd, struct msqid_ds *buf) {
  return __ipc(MSGCTL,msqid,cmd,0,buf);
}