wmii/lib/libstuff/util/utflcpy.c
2010-06-14 10:30:23 -04:00

12 lines
198 B
C

/* Written by Kris Maglione <maglione.k at Gmail> */
/* Public domain */
#include "util.h"
int
utflcpy(char *to, const char *from, int l) {
char *p;
p = utfecpy(to, to+l, from);
return p-to;
}