32 #include "safeclib_private.h" 33 #include "safe_mem_constraint.h" 34 #include "mem_primitives_lib.h" 35 #include "safe_mem_lib.h" 70 return (RCNEGATE(ESNULLP));
76 return (RCNEGATE(ESZEROL));
79 if (len > RSIZE_MAX_MEM32) {
82 return (RCNEGATE(ESLEMAX));
91 return (RCNEGATE(EOK));
void mem_prim_set32(uint32_t *dest, uint32_t len, uint32_t value)
Sets len uint32_t's starting at dest to the specified value.
errno_t memzero32_s(uint32_t *dest, rsize_t len)
Zeros len uint32_ts starting at dest.
void invoke_safe_mem_constraint_handler(const char *msg, void *ptr, errno_t error)
Invokes the currently set constraint handler or the default.