?? signal.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 + -