wmii/lib/libstuff/util/utflcpy.c

12 lines
199 B
C
Raw Normal View History

2010-05-22 06:52:47 +04:00
/* 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;
}