Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygensignal.h
Go to the documentation of this file.
00001 00006 #ifndef _INC_SIGNAL 00007 #define _INC_SIGNAL 00008 00009 #include <crtdefs.h> 00010 00011 #ifdef __cplusplus 00012 extern "C" { 00013 #endif 00014 00015 #ifndef _SIG_ATOMIC_T_DEFINED 00016 #define _SIG_ATOMIC_T_DEFINED 00017 typedef int sig_atomic_t; 00018 #endif 00019 00020 #define NSIG 23 00021 00022 #define SIGHUP 1 /* hangup */ 00023 #define SIGINT 2 00024 #define SIGQUIT 3 /* quit */ 00025 #define SIGILL 4 00026 #define SIGTRAP 5 /* trace trap (not reset when caught) */ 00027 #define SIGIOT 6 /* IOT instruction */ 00028 #define SIGABRT 6 /* used by abort, replace SIGIOT in the future */ 00029 #define SIGEMT 7 /* EMT instruction */ 00030 #define SIGFPE 8 00031 #define SIGKILL 9 /* kill (cannot be caught or ignored) */ 00032 #define SIGBUS 10 /* bus error */ 00033 #define SIGSEGV 11 00034 #define SIGSYS 12 /* bad argument to system call */ 00035 #define SIGPIPE 13 /* write on a pipe with no one to read it */ 00036 #ifdef __USE_MINGW_ALARM 00037 #define SIGALRM 14 /* alarm clock */ 00038 #endif 00039 #define SIGTERM 15 00040 #define SIGBREAK 21 00041 #define SIGABRT2 22 00042 00043 #define SIGABRT_COMPAT 6 00044 00045 typedef void (*__p_sig_fn_t)(int); 00046 00047 #define SIG_DFL (__p_sig_fn_t)0 00048 #define SIG_IGN (__p_sig_fn_t)1 00049 #define SIG_GET (__p_sig_fn_t)2 00050 #define SIG_SGE (__p_sig_fn_t)3 00051 #define SIG_ACK (__p_sig_fn_t)4 00052 #define SIG_ERR (__p_sig_fn_t)-1 00053 00054 extern void **__cdecl __pxcptinfoptrs(void); 00055 #define _pxcptinfoptrs (*__pxcptinfoptrs()) 00056 00057 __p_sig_fn_t __cdecl signal(int _SigNum,__p_sig_fn_t _Func); 00058 int __cdecl raise(int _SigNum); 00059 00060 #ifdef __cplusplus 00061 } 00062 #endif 00063 #endif Generated on Sun May 27 2012 04:28:47 for ReactOS by
1.7.6.1
|