source: azure_iot_hub_mbedtls/trunk/musl-1.1.18/src/signal/sigtimedwait.c@ 398

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

mbedTLS版Azure IoT Hub接続サンプルのソースコードを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 324 bytes
Line 
1#include <signal.h>
2#include <errno.h>
3#include "syscall.h"
4#include "libc.h"
5
6int sigtimedwait(const sigset_t *restrict mask, siginfo_t *restrict si, const struct timespec *restrict timeout)
7{
8 int ret;
9 do ret = syscall_cp(SYS_rt_sigtimedwait, mask,
10 si, timeout, _NSIG/8);
11 while (ret<0 && errno==EINTR);
12 return ret;
13}
Note: See TracBrowser for help on using the repository browser.