☰
Debian Codegraph
@
1.66.10-3
/
/
internal
/
overlay
/
musl
/
src
/
string
/
explicit_bzero.c
☽
☼
internal/overlay/musl/src/string/explicit_bzero.c
code
plain
raw
BSD-3-Clause
2017 The Libc Authors.
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
#ifndef __CCGO__
8
__asm__ __volatile__ ("" : : "r"(d) : "memory");
9
#endif
10
}