Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
c2d6f5f4da3c89b3f432f05fb31879b8d4d50698
/
.
/
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
;
}