mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
more changes from Boudewijn
svn path=/trunk/; revision=209
This commit is contained in:
parent
3aed7d1da4
commit
55d6c152b6
1 changed files with 4 additions and 2 deletions
|
@ -2,9 +2,11 @@ typedef int size_t;
|
|||
|
||||
void * memset(void *src,int val,size_t count)
|
||||
{
|
||||
int *int_src = src;
|
||||
char *char_src = src;
|
||||
|
||||
while(count>0) {
|
||||
*int_src = val;
|
||||
*char_src = val;
|
||||
char_src++;
|
||||
count--;
|
||||
}
|
||||
return src;
|
||||
|
|
Loading…
Reference in a new issue