5e9b346b27
by Daniel Boulet <danny@BouletFermat.ab.ca>
22 lines
406 B
C
22 lines
406 B
C
/*
|
|
* $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));
|
|
}
|