C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
fault_manager.c File Reference

Contains definitions of fault manager routines. More...

#include "common.h"
#include <execinfo.h>

Go to the source code of this file.

Functions

void dummy_fault_handler ()
 
void default_fault_handler (int signo, siginfo_t *info, void *extra)
 
Defaul fault handler called on any of the signals initialised to be handled More...
 
void fault_manager_init (f_fault_handle handler)
 
Handles signals and faults depending on type of fault/signal occured More...
 

Detailed Description

Contains definitions of fault manager routines.

Definition in file fault_manager.c.

Function Documentation

◆ default_fault_handler()

void default_fault_handler ( int  signo,
siginfo_t *  info,
void *  extra 
)


Defaul fault handler called on any of the signals initialised to be handled

Parameters
signo- Signal number
prm- Signal info
prm- Signal dat
Returns
- NA

Definition at line 38 of file fault_manager.c.

◆ dummy_fault_handler()

void dummy_fault_handler ( )

Definition at line 11 of file fault_manager.c.

◆ fault_manager_init()

void fault_manager_init ( f_fault_handle  handler)


Handles signals and faults depending on type of fault/signal occured

Parameters
prm- User define fault handler
Returns
- NA

Definition at line 52 of file fault_manager.c.