.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993, David Metcalfe .\" Copyright, the authors of the Linux man-pages project .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH strxfrm 3 "8 февраля 2026 г." "Справочные страницы Linux 6.17" .SH НАИМЕНОВАНИЕ strxfrm \- преобразование строки .SH БИБЛИОТЕКА Стандартная библиотека языка C (\fIlibc\fP,\ \fI\-lc\fP) .SH ОБЗОР .nf \fB#include \fP .P \fBsize_t strxfrm(\fPsize_t size; \fB char \fP\fIdest\fP\fB[restrict \fP\fIsize\fP\fB], const char \fP\fIsrc\fP\fB[restrict \fP\fIsize\fP\fB],\fP \fB size_t \fP\fIsize\fP\fB);\fP .fi .SH ОПИСАНИЕ The \fBstrxfrm\fP() function transforms the \fIsrc\fP string into a form such that the result of \fBstrcmp\fP(3) on two strings that have been transformed with \fBstrxfrm\fP() is the same as the result of \fBstrcoll\fP(3) on the two strings before their transformation. The first \fIsize\fP bytes of the transformed string are placed in \fIdest\fP. The transformation is based on the program's current locale for category \fBLC_COLLATE\fP. (See \fBsetlocale\fP(3)). .SH "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" The \fBstrxfrm\fP() function returns the number of bytes required to store the transformed string in \fIdest\fP excluding the terminating null byte (\[aq]\[rs]0\[aq]). If the value returned is \fIsize\fP or more, the contents of \fIdest\fP are indeterminate. .SH АТРИБУТЫ Описание терминов данного раздела смотрите в \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Интерфейс Атрибут Значение T{ .na .nh \fBstrxfrm\fP() T} Безвредность в нитях MT\-Safe locale .TE .SH СТАНДАРТЫ C11, POSIX.1\-2008. .SH ИСТОРИЯ POSIX.1\-2001, C89, SVr4, 4.3BSD. .SH "СМОТРИТЕ ТАКЖЕ" \fBmemcmp\fP(3), \fBsetlocale\fP(3), \fBstrcasecmp\fP(3), \fBstrcmp\fP(3), \fBstrcoll\fP(3), \fBstring\fP(3) .PP .SH ПЕРЕВОД Русский перевод этой страницы руководства разработал(и) Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov и Иван Павлов . .PP Этот перевод является свободной программной документацией; он распространяется на условиях общедоступной лицензии GNU (GNU General Public License - GPL, .UR https://www.gnu.org/licenses/gpl-3.0.html .UE версии 3 или более поздней) в отношении авторского права, но БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ. .PP Если вы обнаружите какие-либо ошибки в переводе этой страницы руководства, пожалуйста, сообщите об этом разработчику(ам) по его(их) адресу(ам) электронной почты или по адресу .MT списка рассылки русских переводчиков .ME .