Transform a string.
size_t __fastcall__ strxfrm (char* s1, const char* s2, size_t n);
strxfrmfunction transforms the string pointed to by s2 and places the resulting string into the string pointed to by s1. The transformation is such that if the
strcmpfunction is applied to two transformed strings, it returns a value greater than, equal to, or less than zero, corresponding to the result of the
strcollfunction applied to the same two original strings. No more than n characters are placed into the resulting array pointed to by s1, including the terminating null character.
s2must not point to the same memory area, otherwise the behaviour is undefined.
s1may be a NULL pointer.
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Since cc65 doesn't support different charcter sets,
strxfrmwill just copy s2 to s1 using
- See also
strcmp, strcoll, strncpy,