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

📄 signal.h

📁 VRTX 商用嵌入式实时操作系统
💻 H
字号:
/***************************************************************************
*
*		Copyright (c) 1993 READY SYSTEMS CORPORATION.
*
*	All rights reserved. READY SYSTEMS' source code is an unpublished
*	work and the use of a copyright notice does not imply otherwise.
*	This source code contains confidential, trade secret material of
*	READY SYSTEMS. Any attempt or participation in deciphering, decoding,
*	reverse engineering or in any way altering the source code is
*	strictly prohibited, unless the prior written consent of
*	READY SYSTEMS is obtained.
*
*
*	Module Name:		%M%
*
*	Identification:		%Z% %I% %M%
*
*	Date:			%G%  %U%
*
****************************************************************************
*/

#ifndef	_SIGNAL_H
#define	_SIGNAL_H

#include <ansiprot.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef unsigned char sig_atomic_t;

#define	SIG_DFL	(void (*)(_ANSIPROT1(int)))0
#define	SIG_ERR	(void (*)(_ANSIPROT1(int)))-1
#define	SIG_IGN	(void (*)(_ANSIPROT1(int)))1
#define SIGABRT 6
#define SIGINT  2
#define SIGILL  4
#define SIGFPE  8
#define SIGSEGV 11
#define SIGTERM 15
#define SIGPIPE 0x0D
#define SIGURG  0x10
#define SIGIO   0x17

#ifndef SNX
extern void (*signal(_ANSIPROT2(int, void (*)(_ANSIPROT1(int)))))();
extern int kill(_ANSIPROT2(int, int));	/* should be pid_t */
#else
#define SIGPOLL	0x20
#define sigmask(m)      (1 << ((m)-1))
#endif

extern int raise(_ANSIPROT1(int sig));

#ifdef __cplusplus
}
#endif

#endif	/* !_SIGNAL_H */

⌨️ 快捷键说明

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