mailing list of musl libc
 help / color / mirror / code / Atom feed
497dd2bcc54fcead90fdcb275546d998b26fb513 blob 144 bytes (raw)

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

void *__memsset(void *, int, size_t);

void explicit_bzero(void *d, size_t n)
{
	__memsset(d, 0, n);
}
debug log:

solving 497dd2bc ...
found 497dd2bc in https://inbox.vuxu.org/musl/20170715195541.3136-6-nwmcsween@gmail.com/

applying [1/1] https://inbox.vuxu.org/musl/20170715195541.3136-6-nwmcsween@gmail.com/
diff --git a/src/string/explicit_bzero.c b/src/string/explicit_bzero.c
new file mode 100644
index 00000000..497dd2bc

Checking patch src/string/explicit_bzero.c...
Applied patch src/string/explicit_bzero.c cleanly.

index at:
100644 497dd2bcc54fcead90fdcb275546d998b26fb513	src/string/explicit_bzero.c

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).