Sign in
chromium
/
chromiumos
/
third_party
/
coreboot
/
173fce25f8608c7dd01c38d03115bc6f8de681e8
/
.
/
src
/
lib
/
memset.c
blob: bac33055904ef6f1e7c3f12e19a5669603173dab [
file
] [
log
] [
blame
]
#include
<string.h>
void
*
memset
(
void
*
s
,
int
c
,
size_t
n
)
{
int
i
;
char
*
ss
=
(
char
*)
s
;
for
(
i
=
0
;
i
<
(
int
)
n
;
i
++)
ss
[
i
]
=
c
;
return
s
;
}