OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man3 / strcoll.3
index 0b18e68..4d9ab5e 100644 (file)
@@ -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.
 .\"
 .\" 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
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sun Jul 25 10:40:44 1993 by Rik Faith (faith@cs.unc.edu)
+.\"*******************************************************************
 .\"
-.\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
-.\"    all rights reserved.
-.\" Translated 1997-12-26, HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
-.\" Modified 2007-05-28, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.48
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH STRCOLL 3  1993-04-12 "GNU" "Linux Programmer's Manual"
-.SH Ì¾Á°
-strcoll \- ¸½ºß¤Î¥í¥±¡¼¥ë¤ò»ÈÍѤ·¤ÆÆó¤Ä¤Îʸ»úÎó¤òÈæ³Ó¤¹¤ë
-.SH ½ñ¼°
+.\"*******************************************************************
+.TH STRCOLL 3 2010\-09\-20 GNU "Linux Programmer's Manual"
+.SH 名前
+strcoll \- 現在のロケールを使用して二つの文字列を比較する
+.SH 書式
 .nf
-.B #include <string.h>
+\fB#include <string.h>\fP
 .sp
-.BI "int strcoll(const char *" s1 ", const char *" s2 );
+\fBint strcoll(const char *\fP\fIs1\fP\fB, const char *\fP\fIs2\fP\fB);\fP
 .fi
-.SH ÀâÌÀ
-\fbstrcoll\fP() ´Ø¿ô¤ÏÆó¤Ä¤Îʸ»úÎó \fIs1\fP ¤È \fIs2\fP ¤òÈæ³Ó¤¹¤ë¡£
-¤³¤Î´Ø¿ô¤Ï¡¢\fIs1\fP ¤¬ \fIs2\fP ¤è¤ê¤â¾®¤µ¤¤¤«¡¢Åù¤·¤¤¤«¡¢Â礭¤¤¤«¤Ë¤è¤Ã¤Æ
-¤½¤ì¤¾¤ìÉé¤ÎÀ°¿ô¡¢0¡¢Àµ¤ÎÀ°¿ô¤òÊÖ¤¹¡£
-Èæ³Ó¤Ï¡¢¥×¥í¥°¥é¥à¤Î¸½ºß¤Î¥í¥±¡¼¥ë¤Î \fBLC_COLLATE\fP ¥«¥Æ¥´¥ê¤Ë±þ¤¸¤Æ
-²ò¼á¤µ¤ì¤¿Ê¸»úÎó¤Ë´ð¤Å¤¤¤Æ¹Ô¤ï¤ì¤ë
-.RB ( setlocale (3)
-»²¾È)¡£
-.SH ÊÖ¤êÃÍ
-.BR strcoll ()
-´Ø¿ô¤Ï¡¢\fIs1\fP ¤¬ \fIs2\fP ¤è¤ê¤â¾®¤µ¤¤¤«¡¢Åù¤·¤¤¤«¡¢
-Â礭¤¤¤«¤Ë¤è¤Ã¤Æ¡¢¤½¤ì¤¾¤ìÉé¤ÎÀ°¿ô¡¢0¡¢Àµ¤ÎÀ°¿ô¤òÊÖ¤¹¡£
-¤É¤Á¤é¤Îʸ»úÎó¤â¸½ºß¤Î¥í¥±¡¼¥ë¤Ë±þ¤¸¤Æ²ò¼á¤µ¤ì¤¿¤â¤Î¤¬»ÈÍѤµ¤ì¤ë¡£
-.SH ½àµò
+.SH 説明
+\fBstrcoll\fP() 関数は二つの文字列 \fIs1\fP と \fIs2\fP を比較する。 この関数は、\fIs1\fP が \fIs2\fP
+よりも小さいか、等しいか、大きいかによって それぞれ負の整数、0、正の整数を返す。 比較は、プログラムの現在のロケールの \fBLC_COLLATE\fP
+カテゴリに応じて 解釈された文字列に基づいて行われる (\fBsetlocale\fP(3)  参照)。
+.SH 返り値
+\fBstrcoll\fP()  関数は、\fIs1\fP が \fIs2\fP よりも小さいか、等しいか、 大きいかによって、それぞれ負の整数、0、正の整数を返す。
+どちらの文字列も現在のロケールに応じて解釈されたものが使用される。
+.SH 準拠
 SVr4, 4.3BSD, C89, C99.
-.SH Ãí°Õ
-\fI"POSIX"\fP ¤ª¤è¤Ó \fI"C"\fP ¥í¥±¡¼¥ë¤Ë¤ª¤¤¤Æ¤Ï¡¢
-.BR strcoll ()
-¤Ï
-.BR strcmp (3)
-¤ÈÅù²Á¤Ç¤¢¤ë¡£
-.SH ´ØÏ¢¹àÌÜ
-.BR bcmp (3),
-.BR memcmp (3),
-.BR setlocale (3),
-.BR strcasecmp (3),
-.BR strcmp (3),
-.BR strxfrm (3)
+.SH 注意
+\fIPOSIX\fP および \fI\&\& C"\fP ロケールにおいては、 \fBstrcoll\fP()  は \fBstrcmp\fP(3)  と等価である。
+.SH 関連項目
+\fBbcmp\fP(3), \fBmemcmp\fP(3), \fBsetlocale\fP(3), \fBstrcasecmp\fP(3), \fBstrcmp\fP(3),
+\fBstring\fP(3), \fBstrxfrm\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。