1 /* $OpenBSD: explicit_bzero.c,v 1.3 2014/06/21 02:34:26 matthew Exp $ */
4 * Written by Matthew Dempsky.
7 #include <sys/libkern.h>
9 __attribute__((weak
)) void __explicit_bzero_hook(void *, size_t);
11 __attribute__((weak
)) void
12 __explicit_bzero_hook(void *buf
, size_t len
)
17 explicit_bzero(void *buf
, size_t len
)
20 __explicit_bzero_hook(buf
, len
);