setjmp.h

来自「Axis 221 camera embedded programing inte」· C头文件 代码 · 共 28 行

H
28
字号
/* Copyright (C) 2004, Yoshinori Sato <ysato@users.sourceforge.jp> *//* Define the machine-dependent type `jmp_buf'.  H8/300 version.  */#ifndef _SETJMP_H# error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."#endif#ifndef	_ASMtypedef struct  {    unsigned long __regs[4];  /* save er4 - er7(sp) */    unsigned long __pc;       /* the return address */  } __jmp_buf[1];#endif /* _ASM */#define JB_REGS   0#define JB_PC     16#define JB_SIZE   20/* Test if longjmp to JMPBUF would unwind the frame   containing a local variable at ADDRESS.  */#define _JMPBUF_UNWINDS(jmpbuf, address) \  ((void *) (address) < (void *) (jmpbuf)->__regs[3])

⌨️ 快捷键说明

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