safec
3.0
Safe C Library - ISO TR24731 Bounds Checking Interface
|
#include "safe_str_lib.h"
Functions | |
EXTERN void | invoke_safe_str_constraint_handler (const char *msg, void *ptr, errno_t error) |
Invokes the currently set constraint handler or the default. More... | |
static void | handle_error (char *orig_dest, rsize_t orig_dmax, const char *err_msg, errno_t err_code) |
static void | handle_werror (wchar_t *orig_dest, rsize_t orig_dmax, const char *err_msg, errno_t err_code) |
EXTERN void invoke_safe_str_constraint_handler | ( | const char * | msg, |
void * | ptr, | ||
errno_t | error | ||
) |
Invokes the currently set constraint handler or the default.
*msg | Pointer to the message describing the error |
*ptr | Pointer to aassociated data. Can be NULL. |
error | The error code encountered. |
|
inlinestatic |
|
inlinestatic |