ref: d040c845b7be94d9d2882f7880999880c5d4b092
dir: /lib/c/strxfrm.c/
#include <string.h> #undef strxfrm size_t strxfrm(char * restrict dst, const char * restrict src, size_t n) { size_t len = strlen(src); if (len < n) strcpy(dst, src); return len; }