libc/string/explicit_bzero.c
// TODO: Employ special compiler support to ensure this is not optimized away.
Employ special compiler support to ensure this is not optimized away.
Employ special compiler support to ensure this is not optimized away .
void explicit_bzero(void* dest_ptr, size_t size) {
    volatile unsigned char* dest = (volatile unsigned char*)dest_ptr;
    for (size_t i = 0; i < size; i++)
        dest[i] = 0;
}
void explicit_bzero ( void * dest_ptr , size_t size ) { volatile unsigned char * dest = ( volatile unsigned char * ) dest_ptr ; for ( size_t i = 0 ; i < size ; i ++ ) dest [ i ] = 0 ; }
TODO: Employ special compiler support to ensure this is not optimized away.
TODO : Employ special compiler support to ensure this is not optimized away .