kolibrios-fun/contrib/sdk/sources/newlib/libc/string/explicit_bzero.c
Sergey Semyonov (Serge) 01ff4a3818 newlib-2.4.0: wide character strings
git-svn-id: svn://kolibrios.org@6557 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-01 18:30:04 +00:00

17 lines
273 B
C

/* $OpenBSD: explicit_bzero.c,v 1.2 2014/06/10 04:17:37 deraadt Exp $ */
/*
* Public domain.
* Written by Ted Unangst
*/
#include <string.h>
/*
* explicit_bzero - don't let the compiler optimize away bzero
*/
void
explicit_bzero(void *p, size_t n)
{
bzero(p, n);
}