repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/google/brya/var/orisa: Update Type C DisplayPort HPD Configuration
[coreboot2.git]
/
src
/
lib
/
memset.c
blob
fc87c8a7bd13d5a8bb2ed73f3b6c0f36d5aed89e
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <string.h>
4
5
void
*
memset
(
void
*
s
,
int
c
,
size_t
n
)
6
{
7
int
i
;
8
char
*
ss
= (
char
*)
s
;
9
10
for
(
i
=
0
;
i
< (
int
)
n
;
i
++)
11
ss
[
i
] =
c
;
12
13
return
s
;
14
}