/*
 * $Id: memset.c 21683 2006-04-21 15:15:18Z peterw $
 */

#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;
}
