summaryrefslogblamecommitdiff
path: root/src/ipc/msgctl.c
blob: d50e395b2534cdbcee8e56407bc28557c9d89d67 (plain) (tree)
1
2
3
4
5
6
7





                                                
                 




                                                           
#include <sys/msg.h>
#include "syscall.h"
#include "ipc.h"

int msgctl(int q, int cmd, struct msqid_ds *buf)
{
#ifdef SYS_msgctl
	return syscall(SYS_msgctl, q, cmd, buf);
#else
	return syscall(SYS_ipc, IPCOP_msgctl, q, cmd, buf);
#endif
}