wm: teppich

ref: 486766a86d96df60cca40f39ffd8cb63b0530112
dir: /libc/memset.c/

View raw version
void*
memset(void* src, char c, unsigned int len)
{
	for (unsigned int i = 0; i < len; i++)
	{
		*(char*)(src++) = c;
	}
	return src;
}