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

Contains declarations of fault manager routines. More...

#include <os.h>

Go to the source code of this file.

Typedefs

typedef void(* f_fault_handle) (int, siginfo_t *, void *)
 Function pointer for fault handler. More...
 

Functions

void fault_manager_init (f_fault_handle h)
 
Handles signals and faults depending on type of fault/signal occured More...
 

Detailed Description

Contains declarations of fault manager routines.

Definition in file fault_manager.h.

Typedef Documentation

◆ f_fault_handle

typedef void(* f_fault_handle) (int, siginfo_t *, void *)

Function pointer for fault handler.

Definition at line 11 of file fault_manager.h.

Function Documentation

◆ 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.