ubase/util/explicit_bzero.c

11 lines
192 B
C
Raw Normal View History

2014-04-30 11:25:29 +00:00
#include <string.h>
#include "../util.h"
static void *(*volatile explicit_memset)(void *, int, size_t) = memset;
void
explicit_bzero(void *b, size_t len)
{
(*explicit_memset)(b, 0, len);
}