Blob Blame History Raw
#ifdef HAVE_EXPLICIT_BZERO

int dummy;

#else

#include <stdint.h>

void explicit_bzero(void* s, size_t n)
{
	volatile char* buf = (volatile char*)s;
	while(n-- *buf++ = '\0');
}
#endif