freebsd-dev/lib/libc/gen/msgget.c
David E. O'Brien 333fc21e3c Fix the style of the SCM ID's.
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00

18 lines
259 B
C

#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#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));
}