mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
210 B
12 lines
210 B
#include <sys/msg.h>
|
|
#include "syscall.h"
|
|
#include "ipc.h"
|
|
|
|
int msgget(key_t k, int flag)
|
|
{
|
|
#ifndef SYS_ipc
|
|
return syscall(SYS_msgget, k, flag);
|
|
#else
|
|
return syscall(SYS_ipc, IPCOP_msgget, k, flag);
|
|
#endif
|
|
}
|
|
|