wm: teppich

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