NetBSD/lib/libc/gen/msgget.c

19 lines
278 B
C

/*
* $Id: msgget.c,v 1.1 1993/11/14 12:40:26 cgd Exp $
*/
#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));
}