diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /lib/libc/gen/msgctl.c | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
Diffstat (limited to 'lib/libc/gen/msgctl.c')
| -rw-r--r-- | lib/libc/gen/msgctl.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/libc/gen/msgctl.c b/lib/libc/gen/msgctl.c new file mode 100644 index 000000000000..7b74c51e2466 --- /dev/null +++ b/lib/libc/gen/msgctl.c @@ -0,0 +1,15 @@ +#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)); +} |
