System V IPC code from Danny Boulet, chewed on a bit by the NetBSD group
[unix-history] / lib / libc / gen / msgsnd.c
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#if __STDC__
int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg)
#else
int msgsnd(msqid, msgp, msgsz, msgflg)
int msqid;
void *msgp;
size_t msgsz;
int msgflg;
#endif
{
return (msgsys(2, msqid, msgp, msgsz, msgflg));
}