wm: teppich

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