]>
git.saurik.com Git - apple/network_cmds.git/blob - unbound/compat/explicit_bzero.c
1 /* $OpenBSD: explicit_bzero.c,v 1.3 2014/06/21 02:34:26 matthew Exp $ */
4 * Written by Matthew Dempsky.
9 __attribute__((weak
)) void
10 __explicit_bzero_hook(void *ATTR_UNUSED(buf
), size_t ATTR_UNUSED(len
))
15 explicit_bzero(void *buf
, size_t len
)
18 SecureZeroMemory(buf
, len
);
21 __explicit_bzero_hook(buf
, len
);