wm: teppich

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