blob: ae008ebde57645b0f3da3f7078050b7c326d1484 [file] [log] [blame] [edit]
/* See LICENSE file for copyright and license details. */
#include "utf.h"
Rune *
runestrecpy(Rune *to, Rune *end, Rune *from)
{
Rune *p = to, *q = from;
while(p < end && *q != 0)
*p++ = *q++;
if(p != to)
*p = 0;
return p;
}