Last change
on this file since 445 was 444, checked in by coas-nagasima, 4 years ago |
muslのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
318 bytes
|
Line | |
---|
1 | #include <sys/msg.h>
|
---|
2 | #include "syscall.h"
|
---|
3 | #include "ipc.h"
|
---|
4 | #include "libc.h"
|
---|
5 |
|
---|
6 | ssize_t msgrcv(int q, void *m, size_t len, long type, int flag)
|
---|
7 | {
|
---|
8 | #ifdef SYS_msgrcv
|
---|
9 | return syscall_cp(SYS_msgrcv, q, m, len, type, flag);
|
---|
10 | #else
|
---|
11 | return syscall_cp(SYS_ipc, IPCOP_msgrcv, q, len, flag, ((long[]){ (long)m, type }));
|
---|
12 | #endif
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.