setjmp.h

来自「它通过提供glibc兼容使得应用程序移植到较小的c 库时相当得容易. 它能够应用」· C头文件 代码 · 共 34 行

H
34
字号
/* Define the machine-dependent type `jmp_buf'.  i960 version.  */#ifndef _SETJMP_H# error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."#endif/* * assume that every single local and global register * must be saved. * * ___SAVEREGS is the number of quads to save. * * Using the structure will guarantee quad-word alignment for the * jmp_buf type. */#define ___SAVEREGS 8typedef struct __jmp_buf__ {  long _q0;  long _q1;  long _q2;  long _q3;} __attribute__ ((aligned (16))) __jmp_buf[___SAVEREGS] ;/* I have not yet figured out what this should be for the i960... */#if 0/* Test if longjmp to JMPBUF would unwind the frame   containing a local variable at ADDRESS.  */#define _JMPBUF_UNWINDS(jmpbuf, address) \  ((void *) (address) < (jmpbuf)[0].__sp)#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?