repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
select: overhaul for time64
[musl.git]
/
src
/
string
/
explicit_bzero.c
blob
f2e12f2375e2d63d594af539b3ad39d68e0c8422
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
}