strxfrm(3) Library Functions Manual strxfrm(3) strxfrm - C (libc, -lc) #include size_t strxfrm(size_t n; char dest[restrict n], const char src[restrict n], size_t n); strxfrm() src , strcmp(3) , strxfrm(), , strcoll(3) . n dest. LC_COLLATE ( setlocale(3)). The strxfrm() function returns the number of bytes required to store the transformed string in dest excluding the terminating null byte ('\0'). If the value returned is n or more, the contents of dest are indeterminate. attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |strxfrm() | | MT-Safe locale | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. POSIX.1-2001, C89, SVr4, 4.3BSD. memcmp(3), setlocale(3), strcasecmp(3), strcmp(3), strcoll(3), string(3) () Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.15 28 2025 . strxfrm(3)