We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae4418 commit e5515cfCopy full SHA for e5515cf
Makefile
@@ -1585,6 +1585,7 @@ libc += stdlib/strtod.o
1585
libc += stdlib/wcstol.o
1586
1587
libc += string/__memcpy_chk.o
1588
+libc += string/explicit_bzero.o
1589
libc += string/__explicit_bzero_chk.o
1590
musl += string/bcmp.o
1591
musl += string/bcopy.o
libc/string/explicit_bzero.c
@@ -0,0 +1,8 @@
1
+#include <string.h>
2
+#include <stdlib.h>
3
+
4
+void explicit_bzero(void *dest, size_t len)
5
+{
6
+ memset(dest, 0, len);
7
+ return;
8
+}
0 commit comments