blob: 30a4b42b854c2f257de28587db2e7b9efd805131 [file] [log] [blame]
#include <sys/msg.h>
#include "syscall.h"
#include "ipc.h"
int msgget(key_t k, int flag)
{
#ifndef SYS_ipc
return syscall(SYS_msgget, k, flag);
#else
return syscall(SYS_ipc, IPCOP_msgget, k, flag);
#endif
}