setjmp.h

来自「单片机开发工具」· C头文件 代码 · 共 21 行

H
21
字号
/*
 *-----------------------------------------------------------------------------
 *  Copyright (c) KEIL ELEKTRONIK GmbH and Franklin Software, Inc., 1987-1992
 *-----------------------------------------------------------------------------
 */
/* SETJMP.H: prototypes for longjmp facility  V3.00  */

/* define the buffer type for holding the state information */
#pragma SAVE
#pragma REGPARMS
#ifndef _JMP_BUF_DEFINED
#define _JBLEN	8  /* RET-ADDR, ?C_XBP, ?C_IBP, ?C_BP, SP, ASTACK */
typedef  char jmp_buf[_JBLEN];
#define _JMP_BUF_DEFINED
#endif

/* function prototypes */
int  setjmp  (jmp_buf);
void longjmp (jmp_buf, int);
#pragma RESTORE

⌨️ 快捷键说明

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