☰
Debian Codegraph
@
0.0~git20260129.ec0effd-3
0.0~git20260129.ec0effd-2
/
/
libc-top-half
/
musl
/
src
/
string
/
explicit_bzero.c
☽
☼
libc-top-half/musl/src/string/explicit_bzero.c
code
plain
raw
MIT
2005-2019 Rich Felker <
[email protected]
>; 2005-2019 Many other contributors
debian/copyright
1
#define _BSD_SOURCE
2
#include <string.h>
3
4
void explicit_bzero(void *d, size_t n)
5
{
6
d = memset(d, 0, n);
7
__asm__ __volatile__ ("" : : "r"(d) : "memory");
8
}