summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/msgsnd.c
blob: a6209159ff50e4bfdd69e56b1268bc828b57f373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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));
}
OpenPOWER on IntegriCloud