mailing list of musl libc
 help / color / mirror / code / Atom feed
f2e12f2375e2d63d594af539b3ad39d68e0c8422 blob 156 bytes (raw)

1
2
3
4
5
6
7
8
 
#define _BSD_SOURCE
#include <string.h>

void explicit_bzero(void *d, size_t n)
{
	d = memset(d, 0, n);
	__asm__ __volatile__ ("" : : "r"(d) : "memory");
}
debug log:

solving f2e12f23 ...
found f2e12f23 in https://git.vuxu.org/mirror/musl/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).