wm: teppich

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