STRCOLL
Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (3)
Updated: 1993³â 4¿ù 12ÀÏ
Index
Return to Main Contents
À̸§
strcoll - ÇöÀç ·ÎÄÉÀÏÀ» »ç¿ëÇÏ¿© µÎ ¹®ÀÚ¿À» ºñ±³ÇÑ´Ù.
»ç¿ë¹ý
#include <string.h>
int strcoll(const char *s1, const char *s2);
¼³¸í
strcoll() ÇÔ¼ö´Â µÎ ¹®ÀÚ¿ s1°ú s2¸¦ ºñ±³ÇÑ´Ù.
ÀÌ ÇÔ¼ö´Â ¸¸ÀÏ s1ÀÌ s2º¸´Ù À۰ųª °°°Å³ª Ŭ¶§, °¢°¢
0 º¸´Ù ÀÛÀº Á¤¼ö³ª 0, 0 º¸´Ù Å« Á¤¼ö¸¦ ¹ÝȯÇÑ´Ù.
ºñ±³´Â ¹®ÀÚ¿¿¡ ±â¹ÝÇϸç ÇÁ·Î±×·¥ÀÇ ÇöÀç ·ÎÄÉÀÏ Ä«Å×°í¸® LC_COLLATE
¿¡ ¸Â°Ô Çؼ®µÈ´Ù.
(setlocale(3) ÂüÁ¶).
¹Ýȯ°ª
strcoll() ÇÔ¼ö´Â µÎ ¹®ÀÚ¿ÀÌ ÇöÀç ·ÎÄÉÀÏ¿¡ ¸Â°Ô Çؼ®µÉ¶§,
¸¸ÀÏ s1ÀÌ s2º¸´Ù À۰ųª °°°Å³ª Ŭ¶§, °¢°¢ 0 º¸´Ù ÀÛÀº Á¤¼ö³ª 0,
0 º¸´Ù Å« Á¤¼ö¸¦ ¹ÝȯÇÑ´Ù.
ȣȯ
SVID 3, BSD 4.3, ISO 9899
ÁÖÀÇ
"POSIX" ³ª "C" ·ÎÄÉÀÏ¿¡¼, strcoll()´Â
strcmp()¿Í µ¿ÀÏÇÏ´Ù.
°ü·Ã Ç׸ñ
bcmp(3), memcmp(3), strcasecmp(3), strcmp(3),
strxfrm(3), setlocale(3)
¿ªÀÚ
Á¤°ÈÆ <skyeyes@soback.kornet.net>, 2001³â 2¿ù 24ÀÏ
Index
- À̸§
-
- »ç¿ë¹ý
-
- ¼³¸í
-
- ¹Ýȯ°ª
-
- ȣȯ
-
- ÁÖÀÇ
-
- °ü·Ã Ç׸ñ
-
- ¿ªÀÚ
-
This document was created by
man2html,
using the manual pages.
Time: 08:07:01 GMT, March 25, 2004