shithub: libgraphics

ref: 58e800db464a07249f70905a13c8f3fceafcb3d1
dir: /memsetl.c/

View raw version
#include <u.h>
#include <libc.h>

void
_memsetl(void *dp, ulong v, usize len)
{
	ulong *p;

	p = dp;
	while(len--)
		*p++ = v;
}