32 #include "safeclib_private.h" 33 #include "safe_str_constraint.h" 34 #include "safe_str_lib.h" 81 if (dmax > RSIZE_MAX_STR) {
88 while (*dest && dmax) {
94 return RCNEGATE(count);
rsize_t strnlen_s(const char *dest, rsize_t dmax)
The strnlen_s function computes the length of the string pointed to by dest.
void invoke_safe_str_constraint_handler(const char *msg, void *ptr, errno_t error)
Invokes the currently set constraint handler or the default.