freebsd-dev/lib/libc/gen/msgctl.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

19 lines
296 B
C

#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));
}