Mostly minor updates to the source tree for portcls.
[reactos.git] / reactos / lib / string / memset.c
1 /*
2 * $Id$
3 */
4
5 #include <string.h>
6
7 void* memset(void* src, int val, size_t count)
8 {
9 char *char_src = (char *)src;
10
11 while(count>0) {
12 *char_src = val;
13 char_src++;
14 count--;
15 }
16 return src;
17 }