32 #include "safeclib_private.h" 33 #include "safe_mem_constraint.h" 34 #include "mem_primitives_lib.h" 35 #include "safe_mem_lib.h" 69 return (RCNEGATE(ESNULLP));
75 return (RCNEGATE(ESZEROL));
78 if (len > RSIZE_MAX_MEM16) {
81 return (RCNEGATE(ESLEMAX));
90 return (RCNEGATE(EOK));
errno_t memzero16_s(uint16_t *dest, rsize_t len)
Zeros len uint16_ts starting at dest.
void mem_prim_set16(uint16_t *dest, uint32_t len, uint16_t value)
Sets len uint16_t's starting at dest to the specified value.
void invoke_safe_mem_constraint_handler(const char *msg, void *ptr, errno_t error)
Invokes the currently set constraint handler or the default.