...
lib_mem.h/lib_mem.c
Prototype
Code Block | ||
---|---|---|
| ||
void Mem_Clr (void *pmem,
CPU_SIZE_T size); |
Arguments
pmem
Pointer to the memory buffer to be clear.
...
Zero-sized clears allowed.
Example Usage
Code Block | ||
---|---|---|
| ||
CPU_CHAR AppBuf[10];
Mem_Clr((void *)&AppBuf[0],
(CPU_SIZE_T) sizeof(AppBuf)); |