reactos/reactos/lib/string/memset.c
Hartmut Birr 34cc922d57 - Added static string library.
svn path=/trunk/; revision=4769
2003-05-27 18:58:15 +00:00

17 lines
245 B
C

/*
* $Id: memset.c,v 1.1 2003/05/27 18:56:15 hbirr Exp $
*/
#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;
}