Version: 9.15.0
CASCatch_CatchSignals.cxx File Reference
#include "CASCatch_CatchSignals.hxx"
#include "CASCatch_Failure.hxx"
#include "CASCatch_ErrorHandler.hxx"
#include <TCollection_AsciiString.hxx>
#include <OSD.hxx>
#include <OSD_WhoAmI.hxx>
#include <OSD_SIGHUP.hxx>
#include <OSD_SIGINT.hxx>
#include <OSD_SIGQUIT.hxx>
#include <OSD_SIGILL.hxx>
#include <OSD_SIGKILL.hxx>
#include <OSD_SIGBUS.hxx>
#include <OSD_SIGSEGV.hxx>
#include <OSD_SIGSYS.hxx>
#include <signal.h>
#include <sys/signal.h>
#include <stdlib.h>
#include <stdio.h>

Macros

#define MAX_HANDLER_NUMBER   6
 

Typedefs

typedef void() ACT_SIGIO_HANDLER(void)
 
typedef void(* SIG_PFV) (int)
 

Functions

static void Handler (const int theSig)
 universal handler for signals More...
 
static void SegvHandler (const int)
 handler for SIGSEGV signal More...
 

Variables

ACT_SIGIO_HANDLERADR_ACT_SIGIO_HANDLER = NULL
 

Macro Definition Documentation

◆ MAX_HANDLER_NUMBER

#define MAX_HANDLER_NUMBER   6

Typedef Documentation

◆ ACT_SIGIO_HANDLER

typedef void() ACT_SIGIO_HANDLER(void)

◆ SIG_PFV

typedef void(* SIG_PFV) (int)

Function Documentation

◆ Handler()

static void Handler ( const int  theSig)
static

universal handler for signals

Private -

References CASCatch_Failure::Raise().

◆ SegvHandler()

static void SegvHandler ( const int  )
static

handler for SIGSEGV signal

Private -

References CASCatch_Failure::Raise().

Variable Documentation

◆ ADR_ACT_SIGIO_HANDLER

ACT_SIGIO_HANDLER* ADR_ACT_SIGIO_HANDLER = NULL