X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=release%2Fman3%2Fstrxfrm.3;h=50c4effc60160bc98b07a377323920d040e00c32;hb=bb92023e2caf6dc30bd3a8f07877ec870c853e23;hp=d3c52c63f7dd8ae46b84516cd3009ff5b4a70a36;hpb=05edc1c11c5b516ab7b254b23c5927d6bd36ce34;p=linuxjm%2FLDP_man-pages.git diff --git a/release/man3/strxfrm.3 b/release/man3/strxfrm.3 index d3c52c63..50c4effc 100644 --- a/release/man3/strxfrm.3 +++ b/release/man3/strxfrm.3 @@ -1,5 +1,6 @@ .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) .\" +.\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. @@ -19,6 +20,7 @@ .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. +.\" %%%LICENSE_END .\" .\" References consulted: .\" Linux libc source code @@ -30,7 +32,7 @@ .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH STRXFRM 3 2011\-09\-28 GNU "Linux Programmer's Manual" +.TH STRXFRM 3 2012\-05\-10 GNU "Linux Programmer's Manual" .SH 名前 strxfrm \- 文字列の変換 .SH 書式 @@ -40,10 +42,13 @@ strxfrm \- 文字列の変換 \fBsize_t strxfrm(char *\fP\fIdest\fP\fB, const char *\fP\fIsrc\fP\fB, size_t \fP\fIn\fP\fB);\fP .fi .SH 説明 -\fBstrxfrm\fP() 関数は文字列 \fIsrc\fP に対して、次の条件を満たすよう な変換をする: 「ある二つの文字列に対して、それぞれを -\fBstrxfrm\fP() で変換してから \fBstrcmp\fP(3) した結果と、 \fBstrxfrm\fP() による変換 を行わずに -\fBstrcoll\fP(3) した結果と同じ」 変換した文字列の先頭から \fIn\fP 文字分が \fIdest\fP に代入される。 変換は、カテゴリ -\fBLC_COLLATE\fP に対する、プログラムの現在のロケール に基づいて行われる (\fBsetlocale\fP(3) を参照のこと)。 +\fBstrxfrm\fP() 関数は、文字列 \fIsrc\fP に対して、次のような変換を行う。 +変換は、ある二つの文字列に対して、それぞれを \fBstrxfrm\fP() で変換 +した文字列に対して \fBstrcmp\fP(3) を行った結果が、 +変換を行わずに\fBstrcoll\fP(3) を行った結果と同じとなるように行う。 +変換された文字列の先頭から \fIn\fP バイト分が \fIdest\fP に代入される。 +変換は、プログラムの現在のロケールのカテゴリ \fBLC_COLLATE\fP に +基づいて行われる (\fBsetlocale\fP(3) を参照)。 .SH 返り値 \fBstrxfrm\fP() 関数は、変換された文字列を \fIdest\fP に代入するときに 必要なバイト数から、終端の NULL バイト (\(aq\e0\(aq) の分を 引いたものを返す。もし返り値が \fIn\fP 以上の場合、 \fIdest\fP の内容は不定となる。 @@ -56,6 +61,6 @@ SVr4, 4.3BSD, C89, C99. \fBbcmp\fP(3), \fBmemcmp\fP(3), \fBsetlocale\fP(3), \fBstrcasecmp\fP(3), \fBstrcmp\fP(3), \fBstrcoll\fP(3), \fBstring\fP(3) .SH この文書について -この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部 +この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。