wm: teppich

ref: 3f740ebd95986bfadbb770d070546fe9ce7f7deb
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;
}