summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/lib/msgget.c
blob: 9bca09ebeadfec4a25aecde9b3444db0192b62d2 (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 msgget(key_t key,int flag) {
  return __ipc(MSGGET,key,flag,0,0);
}