Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
coreboot
/
7274ba360d51d8ca8278708225661d9291fd3c60
/
.
/
util
/
mkelfImage
/
kunzip_src
/
lib
/
memset.c
blob: c1bb4f841fc471ee72d6840d7a5eefa52c7a4247 [
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
<
n
;
i
++)
ss
[
i
]
=
c
;
return
s
;
}