wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

utflcpy.c (198B)


      1 /* Written by Kris Maglione <maglione.k at Gmail> */
      2 /* Public domain */
      3 #include "util.h"
      4 
      5 int
      6 utflcpy(char *to, const char *from, int l) {
      7 	char *p;
      8 
      9 	p = utfecpy(to, to+l, from);
     10 	return p-to;
     11 }