safec
3.0
Safe C Library - ISO TR24731 Bounds Checking Interface
|
#include "safe_mem_lib.h"
Functions | |
EXPORT errno_t | memzero_s (void *dest, rsize_t len) |
Zeros len bytes starting at dest. More... | |
EXPORT errno_t memzero_s | ( | void * | dest, |
rsize_t | len | ||
) |
Zeros len bytes starting at dest.
[out] | dest | pointer to memory to be zeroed. |
[in] | len | number of bytes to be zeroed |
EOK | when operation is successful |
ESNULLP | when dest is NULL POINTER |
ESZEROL | when len = ZERO |
ESLEMAX | when len > RSIZE_MAX_MEM |