1 #define _BSD_SOURCE 2 #include <string.h> 3 explicit_bzero(void * d,size_t n)4 void explicit_bzero(void *d, size_t n) 5 { 6 d = memset(d, 0, n); 7 __asm__ __volatile__ ("" : : "r"(d) : "memory"); 8 } 9