projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use free Windows DDK and compile with latest MinGW releases.
[reactos.git]
/
reactos
/
lib
/
msvcrt
/
string
/
memset.c
1
#include <msvcrti.h>
2
3
4
void
*
memset
(
void
*
src
,
int
val
,
size_t
count
)
5
{
6
char
*
char_src
= (
char
*)
src
;
7
8
while
(
count
>
0
) {
9
*
char_src
=
val
;
10
char_src
++;
11
count
--;
12
}
13
return
src
;
14
}