source: EcnlProtoTool/trunk/musl-1.1.18/include/setjmp.h@ 331

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

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr
File size: 768 bytes
Line 
1#ifndef _SETJMP_H
2#define _SETJMP_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include <features.h>
9
10#include <bits/setjmp.h>
11
12typedef struct __jmp_buf_tag {
13 __jmp_buf __jb;
14 unsigned long __fl;
15 unsigned long __ss[128/sizeof(long)];
16} jmp_buf[1];
17
18#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
19 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
20 || defined(_BSD_SOURCE)
21typedef jmp_buf sigjmp_buf;
22int sigsetjmp (sigjmp_buf, int);
23_Noreturn void siglongjmp (sigjmp_buf, int);
24#endif
25
26#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
27 || defined(_BSD_SOURCE)
28int _setjmp (jmp_buf);
29_Noreturn void _longjmp (jmp_buf, int);
30#endif
31
32int setjmp (jmp_buf);
33_Noreturn void longjmp (jmp_buf, int);
34
35#define setjmp setjmp
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif
Note: See TracBrowser for help on using the repository browser.