2014-04-30 11:28:38 +00:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
2014-04-30 11:25:29 +00:00
|
|
|
#include <string.h>
|
2014-06-30 18:03:41 +00:00
|
|
|
|
2014-04-30 11:25:29 +00:00
|
|
|
#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);
|
|
|
|
}
|