qh_memclear()
QNX SDP8.0QNX Helpers Developer's GuideAPIDeveloper
Set the memory to zero
Synopsis:
#include <qh/string.h>
void qh_memclear(void *dst,
size_t size)
Arguments:
- dst
- The destination buffer to clear.
- size
- The size of the destination buffer to clear.
Library:
qhDescription:
The qh_memclear() function clears the memory, setting it to zero, while bypassing any possible compiler optimizations that could otherwise prevent the memory from being cleared.
Page updated: