blob: e8bc5b367cd513fe69e5c841f7c2292351316152 [file] [log] [blame] [raw]
/* $OpenBSD: explicit_bzero.c,v 1.4 2015/08/31 02:53:57 guenther Exp $ */
/*
* Public domain.
* Written by Matthew Dempsky.
*/
#include <string.h>
#include "compat.h"
void
explicit_bzero(void *buf, size_t len)
{
memset(buf, 0, len);
}