mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
18 lines
340 B
C
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));
|
|
}
|