NetBSD/lib/libc/gen/msgrcv.c

22 lines
406 B
C
Raw Normal View History

/*
* $Id: msgrcv.c,v 1.1 1993/11/14 12:40:27 cgd Exp $
*/
#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));
}