projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove useless __yield alias for sched_yield
[oweals/musl.git]
/
src
/
ipc
/
msgsnd.c
1
#include <sys/msg.h>
2
#include "syscall.h"
3
#include "ipc.h"
4
#include "libc.h"
5
6
int msgsnd(int q, const void *m, size_t len, int flag)
7
{
8
#ifdef SYS_msgsnd
9
return syscall_cp(SYS_msgsnd, q, m, len, flag);
10
#else
11
return syscall_cp(SYS_ipc, IPCOP_msgsnd, q, len, flag, m);
12
#endif
13
}