summaryrefslogtreecommitdiff
path: root/lib/libc/msg/msgctl.c
blob: 0df2e3cf902e89f17cc8c9fb4cb658b3a73cc5ff (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_msgctl

#include <sys/msg.h> // for msgctl
#include <syscall.h> // for __syscall_3, syscall

int msgctl(int msqid, int cmd, struct msqid_ds *buf)
{
	return syscall(msgctl, msqid, cmd, buf);
}