From 61f65e4dfa95e21130573b74e4cef282bd410e91 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:41:01 +0200 Subject: Adding upstream version 3.3a. Signed-off-by: Daniel Baumann --- compat/explicit_bzero.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 compat/explicit_bzero.c (limited to 'compat/explicit_bzero.c') diff --git a/compat/explicit_bzero.c b/compat/explicit_bzero.c new file mode 100644 index 0000000..e8bc5b3 --- /dev/null +++ b/compat/explicit_bzero.c @@ -0,0 +1,15 @@ +/* $OpenBSD: explicit_bzero.c,v 1.4 2015/08/31 02:53:57 guenther Exp $ */ +/* + * Public domain. + * Written by Matthew Dempsky. + */ + +#include + +#include "compat.h" + +void +explicit_bzero(void *buf, size_t len) +{ + memset(buf, 0, len); +} -- cgit v1.2.3