summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/msgctl.c
blob: bf4b40f86164cee724dba38992b646ed06f52943 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>

#if __STDC__
int msgctl(int msqid, int cmd, struct msqid_ds *buf)
#else
int msgctl(msqid,cmd,buf)
	int msqid;
	int cmd;
	caddr_t buf;
#endif
{
	return (msgsys(0, msqid, cmd, buf));
}
OpenPOWER on IntegriCloud