signal.h

来自「AT80296C 单片机中使用此头文件可方便查找东西,方便于编程 板头文件」· C头文件 代码 · 共 41 行

H
41
字号
/**************************************************************************
**                                                                        *
**  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 + =
减小字号Ctrl + -
显示快捷键?