ReactOS 0.4.16-dev-1063-gd722e70
signal.h File Reference
#include <corecrt.h>
Include dependency graph for signal.h:

Go to the source code of this file.

Macros

#define _INC_SIGNAL
 
#define NSIG   23
 
#define SIGINT   2
 
#define SIGILL   4
 
#define SIGFPE   8
 
#define SIGSEGV   11
 
#define SIGTERM   15
 
#define SIGBREAK   21
 
#define SIGABRT   22
 
#define SIGABRT_COMPAT   6
 
#define SIG_DFL   ((_crt_signal_t)0)
 
#define SIG_IGN   ((_crt_signal_t)1)
 
#define SIG_GET   ((_crt_signal_t)2)
 
#define SIG_SGE   ((_crt_signal_t)3)
 
#define SIG_ACK   ((_crt_signal_t)4)
 
#define SIG_ERR   ((_crt_signal_t)-1)
 
#define _pxcptinfoptrs   (*__pxcptinfoptrs())
 

Typedefs

typedef void(__CRTDECL_crt_signal_t) (int)
 

Functions

_ACRTIMP void **__cdecl __pxcptinfoptrs (void)
 
_ACRTIMP _crt_signal_t __cdecl signal (_In_ int _Signal, _In_opt_ _crt_signal_t _Function)
 
_ACRTIMP int __cdecl raise (_In_ int _Signal)
 

Variables

_UCRT_DISABLE_CLANG_WARNINGS _CRT_BEGIN_C_HEADER typedef int sig_atomic_t
 

Macro Definition Documentation

◆ _INC_SIGNAL

#define _INC_SIGNAL

Definition at line 10 of file signal.h.

◆ _pxcptinfoptrs

#define _pxcptinfoptrs   (*__pxcptinfoptrs())

Definition at line 58 of file signal.h.

◆ NSIG

#define NSIG   23

Definition at line 26 of file signal.h.

◆ SIG_ACK

#define SIG_ACK   ((_crt_signal_t)4)

Definition at line 44 of file signal.h.

◆ SIG_DFL

#define SIG_DFL   ((_crt_signal_t)0)

Definition at line 40 of file signal.h.

◆ SIG_ERR

#define SIG_ERR   ((_crt_signal_t)-1)

Definition at line 52 of file signal.h.

◆ SIG_GET

#define SIG_GET   ((_crt_signal_t)2)

Definition at line 42 of file signal.h.

◆ SIG_IGN

#define SIG_IGN   ((_crt_signal_t)1)

Definition at line 41 of file signal.h.

◆ SIG_SGE

#define SIG_SGE   ((_crt_signal_t)3)

Definition at line 43 of file signal.h.

◆ SIGABRT

#define SIGABRT   22

Definition at line 35 of file signal.h.

◆ SIGABRT_COMPAT

#define SIGABRT_COMPAT   6

Definition at line 37 of file signal.h.

◆ SIGBREAK

#define SIGBREAK   21

Definition at line 34 of file signal.h.

◆ SIGFPE

#define SIGFPE   8

Definition at line 31 of file signal.h.

◆ SIGILL

#define SIGILL   4

Definition at line 30 of file signal.h.

◆ SIGINT

#define SIGINT   2

Definition at line 29 of file signal.h.

◆ SIGSEGV

#define SIGSEGV   11

Definition at line 32 of file signal.h.

◆ SIGTERM

#define SIGTERM   15

Definition at line 33 of file signal.h.

Typedef Documentation

◆ _crt_signal_t

typedef void(__CRTDECL * _crt_signal_t) (int)

Definition at line 24 of file signal.h.

Function Documentation

◆ __pxcptinfoptrs()

_ACRTIMP void **__cdecl __pxcptinfoptrs ( void  )

Definition at line 73 of file except.c.

74{
75 return (void**)&msvcrt_get_thread_data()->xcptinfo;
76}
thread_data_t * msvcrt_get_thread_data(void)
Definition: tls.c:31

Referenced by msvcrt_exception_filter(), and raise().

◆ raise()

_ACRTIMP int __cdecl raise ( _In_ int  _Signal)

◆ signal()

_ACRTIMP _crt_signal_t __cdecl signal ( _In_ int  _Signal,
_In_opt_ _crt_signal_t  _Function 
)

Variable Documentation

◆ sig_atomic_t