1
0
mirror of git://git.suckless.org/ubase synced 2025-02-02 11:31:31 +00:00
ubase/util/explicit_bzero.c
2014-06-30 19:04:47 +01:00

13 lines
251 B
C

/* See LICENSE file for copyright and license details. */
#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);
}