safec  3.0
Safe C Library - ISO TR24731 Bounds Checking Interface
safe_mem_constraint.h File Reference
#include "safe_mem_lib.h"
+ Include dependency graph for safe_mem_constraint.h:
+ This graph shows which files directly or indirectly include this file:

Functions

EXTERN void invoke_safe_mem_constraint_handler (const char *msg, void *ptr, errno_t error)
 Invokes the currently set constraint handler or the default. More...
 

Function Documentation

◆ invoke_safe_mem_constraint_handler()

EXTERN void invoke_safe_mem_constraint_handler ( const char *  msg,
void *  ptr,
errno_t  error 
)

Invokes the currently set constraint handler or the default.

Parameters
*msgPointer to the message describing the error
*ptrPointer to aassociated data. Can be NULL.
errorThe error code encountered.