aboutsummaryrefslogtreecommitdiffstats
path: root/foobar/portable/openbsd-compat/explicit_bzero.c
blob: d9f4abf5dda4b79fd37bd8b141b76e27dacbfbab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*  $OpenBSD: explicit_bzero.c,v 1.4 2015/08/31 02:53:57 guenther Exp $ */
/*
 * Public domain.
 * Written by Matthew Dempsky.
 */

#include "includes.h"

#include <string.h>

void
explicit_bzero(void *buf, size_t len)
{
	memset(buf, 0, len);
}