STRCASECMP
Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (3)
Updated: 1993³â 4¿ù 11ÀÏ
Index
Return to Main Contents
À̸§
strcasecmp, strncasecmp - ´ë ¼Ò¹®ÀÚ¸¦ ±¸ºÐÇÏÁö ¾Ê°í µÎ°³ÀÇ ¹®ÀÚ¿À» ºñ±³
»ç¿ë¹ý
#include <string.h>
int strcasecmp(const char *s1, const char *s2);
int strncasecmp(const char *s1, const char *s2, size_t n);
¼³¸í
strcasecmp() ÇÔ¼ö´Â ´ë ¼Ò¹®ÀÚ¸¦ ±¸ºÐÇÏÁö ¾Ê°í, µÎ ¹®ÀÚ¿ s1°ú s2¸¦ ºñ±³ÇÑ´Ù.
ÀÌ ÇÔ¼ö´Â ¸¸ÀÏ s1°¡ s2º¸´Ù À۰ųª ÀÏÄ¡Çϰųª Å« °æ¿ì¿¡ °¢°¢ 0 º¸´Ù ÀÛÀº Á¤¼ö, 0, 0º¸´Ù
Å« Á¤¼ö¸¦ ¹ÝȯÇÑ´Ù.
strncasecmp() ÇÔ¼ö´Â s1ÀÇ ¹®ÀÚµé Áß Ã³À½ n¸¸À» ºñ±³ÇÑ´Ù´Â °ÍÀ» Á¦¿ÜÇÏ°í ºñ½ÁÇÏ´Ù.
¹Ýȯ°ª
strcasecmp()¿Í strncasecmp() ÇÔ¼ö´Â ¸¸ÀÏ s1(¶Ç´Â óÀ½ n ¹ÙÀÌÆ®)°¡
s2º¸´Ù À۰ųª ÀÏÄ¡Çϰųª Å« °æ¿ì¿¡ °¢°¢ 0 º¸´Ù ÀÛÀº Á¤¼ö, 0, 0º¸´Ù Å« Á¤¼ö¸¦ ¹ÝȯÇÑ´Ù.
ȣȯ
BSD 4.4
°ü·Ã Ç׸ñ
bcmp(3), memcmp(3), strcmp(3), strcoll(3), strncmp(3)
¿ªÀÚ
Á¤°ÈÆ <skyeyes@soback.kornet.net>, 2001³â 4¿ù 9ÀÏ
Index
- À̸§
-
- »ç¿ë¹ý
-
- ¼³¸í
-
- ¹Ýȯ°ª
-
- ȣȯ
-
- °ü·Ã Ç׸ñ
-
- ¿ªÀÚ
-
This document was created by
man2html,
using the manual pages.
Time: 08:07:01 GMT, March 25, 2004