source: azure_iot_hub/trunk/musl-1.1.18/src/signal/sigsetjmp_tail.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: 259 bytes
Line 
1#include <setjmp.h>
2#include <signal.h>
3#include "syscall.h"
4
5__attribute__((__visibility__("hidden")))
6int __sigsetjmp_tail(sigjmp_buf jb, int ret)
7{
8 void *p = jb->__ss;
9 __syscall(SYS_rt_sigprocmask, SIG_SETMASK, ret?p:0, ret?0:p, _NSIG/8);
10 return ret;
11}
Note: See TracBrowser for help on using the repository browser.