が指すワイド文字文字列と \fIs2\fP が指すワイド文 字文字列を比較するが、最大でも先頭のワイド文字 \fIn\fP 個までしか比較
しない。またいずれかの文字列に NULL ワイド文字 (L\(aq\e0\(aq) が現れたら、 比較はその位置で終了する。
.SH 返り値
-The \fBwcsncmp\fP() function returns zero if the wide\-character strings at
-\fIs1\fP and \fIs2\fP, truncated to at most length \fIn\fP, are equal. It returns an
-integer greater than zero if at the first differing position \fIi\fP (\fIi\fP
-< \fIn\fP), the corresponding wide\-character \fIs1[i]\fP is greater than
-\fIs2[i]\fP. It returns an integer less than zero if at the first differing
-position \fIi\fP (i < \fIn\fP), the corresponding wide\-character \fIs1[i]\fP is
-less than \fIs2[i]\fP.
+\fBwcsncmp\fP() 関数は、\fIs1\fP と \fIs2\fP がそれぞれ指す文字列を \fIn\fP 文字に収まるように切り詰めたものが等しければ 0
+を返す。 この関数は、異なる文字が最初に現われた位置 \fIi\fP (\fIi\fP < \fIn\fP) において、その位置にある文字 \fIs1[i]\fP が
+\fIs2[i]\fP より大きければ 正の値を返す。異なる文字が最初に現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)
+において、その位置にある文字 \fIs1[i]\fP が \fIs2[i]\fP より小さければ 負の値を返す。
.SH 準拠
C99.
.SH 関連項目