Home | History | Annotate | Download | only in musl-locale
      1 #include <string.h>
      2 
      3 /* collate only by code points */
      4 size_t strxfrm(char *restrict dest, const char *restrict src, size_t n)
      5 {
      6 	size_t l = strlen(src);
      7 	if (n > l) strcpy(dest, src);
      8 	return l;
      9 }
     10