freebsd-src/lib/libc/gen/msgrcv.c
1994-09-13 14:52:45 +00:00

18 lines
340 B
C

#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#if __STDC__
int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg)
#else
int msgrcv(msqid, msgp, msgsz, msgtyp, msgflg)
int msqid;
void *msgp;
size_t msgsz;
long msgtyp;
int msgflg;
#endif
{
return (msgsys(3, msqid, msgp, msgsz, msgtyp, msgflg));
}