#include #include #include #include extern int __ipc(); int msgrcv(int msqid, void *msgp, size_t msgsz, long int msgtyp, int msgflg) { struct ipc_kludge tmp; tmp.msgp = msgp; tmp.msgtyp = msgtyp; return __ipc(MSGRCV,msqid, msgsz, msgflg, &tmp); }