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:
311 bytes
|
Rev | Line | |
---|
[388] | 1 | #define _GNU_SOURCE
|
---|
| 2 | #include <sys/sem.h>
|
---|
| 3 | #include "syscall.h"
|
---|
| 4 | #include "ipc.h"
|
---|
| 5 |
|
---|
| 6 | int semtimedop(int id, struct sembuf *buf, size_t n, const struct timespec *ts)
|
---|
| 7 | {
|
---|
| 8 | #ifdef SYS_semtimedop
|
---|
| 9 | return syscall(SYS_semtimedop, id, buf, n, ts);
|
---|
| 10 | #else
|
---|
| 11 | return syscall(SYS_ipc, IPCOP_semtimedop, id, n, 0, buf, ts);
|
---|
| 12 | #endif
|
---|
| 13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.