⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 signal.h

📁 AT80296C 单片机中使用此头文件可方便查找东西,方便于编程 板头文件
💻 H
字号:
/**************************************************************************
**                                                                        *
**  FILE        :  signal.h                                               *
**                                                                        *
**  DESCRIPTION :  Include file with prototypes and macros for handling	  *
**		   various signals.					  *
**                                                                        *
**  COPYRIGHT   :  1997 Tasking Software B.V., Amersfoort                 *
**                                                                        *
**************************************************************************/
#include <locale.h>

#ifndef	_signal_h_
#define _signal_h_

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <limits.h>

#pragma varparams(signal, raise)

typedef int sig_atomic_t;

#define _NSIG		7 /* one more then last code */

#define SIGINT		1
#define SIGILL		2
#define SIGFPE		3
#define SIGSEGV		4
#define SIGTERM		5
#define SIGABRT		6
#define SIG_DFL (void (*)())0
#define SIG_IGN (void (*)())1
#define SIG_ERR (void (*)())-1

void (*signal( int, void (*)(int) ))( int );
int raise( int );

#endif /* _signal_h_ */

⌨️ 快捷键说明

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