source: azure_iot_hub/trunk/musl-1.1.18/src/ipc/msgrcv.c@ 388

Last change on this file since 388 was 388, checked in by coas-nagasima, 5 years ago

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-csrc
File size: 318 bytes
Line 
1#include <sys/msg.h>
2#include "syscall.h"
3#include "ipc.h"
4#include "libc.h"
5
6ssize_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.