mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
17 lines
198 B
C
17 lines
198 B
C
/*
|
|
* $Id$
|
|
*/
|
|
|
|
#include <string.h>
|
|
|
|
void* memset(void* src, int val, size_t count)
|
|
{
|
|
char *char_src = (char *)src;
|
|
|
|
while(count>0) {
|
|
*char_src = val;
|
|
char_src++;
|
|
count--;
|
|
}
|
|
return src;
|
|
}
|