safec  3.2
Safe C Library - ISO TR24731 Bounds Checking Interface
memzero32_s.c File Reference
#include "safe_mem_lib.h"
+ Include dependency graph for memzero32_s.c:

Functions

EXPORT errno_t memzero32_s (uint32_t *dest, rsize_t len)
 Zeros len uint32_ts starting at dest. More...
 

Function Documentation

◆ memzero32_s()

EXPORT errno_t memzero32_s ( uint32_t *  dest,
rsize_t  len 
)

Zeros len uint32_ts starting at dest.

Remarks
EXTENSION TO ISO/IEC JTC1 SC22 WG14 N1172, Programming languages, environments and system software interfaces, Extensions to the C Library, Part I: Bounds-checking interfaces
Parameters
[out]destpointer to memory to be zeroed.
[in]lennumber of uint32_ts to be zeroed
Precondition
dest shall not be a null pointer.
len shall not be 0 nor greater than RSIZE_MAX_MEM32.
Returns
If there is a runtime constraint, the operation is not performed.
Return values
EOKwhen operation is successful
ESNULLPwhen dest is NULL POINTER
ESZEROLwhen len = ZERO
ESLEMAXwhen len > RSIZE_MAX_MEM32
See also
memzero_s(), memzero16_s()