summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/msgget.c
blob: 3e146b05cbe6e9837076b1d94befda9973e296fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>

#if __STDC__
int msgget(key_t key, int msgflg)
#else
int msgget(key,msgflg)
	key_t key;
	int msgflg;
#endif
{
	return (msgsys(1, key, msgflg));
}
OpenPOWER on IntegriCloud