#include<string.h>size_tstrxfrm(char*s1,constchar*s2,size_tn){/* * BUG: supposed to transform s2 to a canonical form * so that strcmp can be used instead of strcoll, but * our strcoll just uses strcmp. */size_txn=strlen(s2);if(n>xn)n=xn;memcpy(s1,s2,n);returnxn;}