code: drawterm

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