shithub: drawterm

ref: 3b85c767fec3d7c9852f2e86afc89554bfabd02d
dir: /libc/runestrcpy.c/

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

Rune*
runestrcpy(Rune *s1, Rune *s2)
{
	Rune *os1;

	os1 = s1;
	while(*s1++ = *s2++)
		;
	return os1;
}