The libc implementation
Martin ‘Solar’ Baute
Public Domain
size_t strxfrm(char * _PDCLIB_restrict s1,const char * _PDCLIB_restrict s2,size_t n)
Copies the null terminated string s2 to s1, if s2 is not more than n bytes long
Returns the length of s2