ISALPHA

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (3)
Updated: 1995³â 9¿ù 2ÀÏ
Index
Return to Main Contents
 

À̸§

isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit - ¹®ÀÚ À¯Çüº° ·çƾµé  

»ç¿ë¹ý

#include <ctype.h>

int isalnum (int c);
int isalpha (int c);
int isascii (int c);
int isblank (int c);
int iscntrl (int c);
int isdigit (int c);
int isgraph (int c);
int islower (int c);
int isprint (int c);
int ispunct (int c);
int isspace (int c);
int isupper (int c);
int isxdigit (int c);
 

¼³¸í

À̵é ÇÔ¼öµéÀº unsigned char ³ª EOF°ªÀ» °¡Á®¾ß¸¸ ÇÏ´Â c°¡ ÇöÀç ·ÎÄÉÀÏ¿¡ µû¶ó ¾î¶² ¹®ÀÚ Á¾·ù¿¡ µé¾î ÀÖ´ÂÁö¸¦ °Ë»çÇÑ´Ù.
isalnum()
¾ËÆĺª µîÀÇ ¹®ÀÚ¿Í ¼ýÀÚ¸¦ °Ë»çÇÑ´Ù.; ÀÌ ÇÔ¼ö´Â (isalpha(c) || isdigit(c)) °ú µ¿ÀÏÇÏ´Ù.
isalpha()
¾ËÆĺª ¹®ÀÚ¸¦ °Ë»çÇÑ´Ù; Ç¥ÁØ "C" ·ÎÄÉÀÏ¿¡¼­, (isupper(c) || islower(c)) °ú µ¿ÀÏÇÏ´Ù. ¸î¸î ·ÎÄÉÀÏ¿¡¼­, isalpha() °¡ ÂüÀÎ Ãß°¡ÀûÀÎ ¹®ÀÚµéÀÌ ÀÖ´Ù--´ë¹®ÀÚ³ª ¼Ò¹®ÀÚµµ ¾Æ´Ñ ¹®ÀÚµé.
isascii()
c°¡ ASCII ¹®ÀÚ ÁýÇÕ¿¡ ¼ÓÇÏ´Â 7-bit unsigned char ÀÎÁö¸¦ °Ë»çÇÑ´Ù. ÀÌ ÇÔ¼ö´Â BSD È®ÀåÀÌ¸ç ¶ÇÇÑ SVID È®ÀåÀÌ´Ù.
isblank()
blank ¹®ÀÚÀÎÁö °Ë»çÇÑ´Ù.; Áï, ½ºÆäÀ̽º³ª ÅÇ. ÀÌ ÇÔ¼ö´Â GNU È®ÀåÀÌ´Ù.
iscntrl()
Á¦¾î ¹®ÀÚÀÎÁö °Ë»çÇÑ´Ù.
isdigit()
¼ýÀÚ(0-9)ÀÎÁö °Ë»çÇÑ´Ù.
isgraph()
½ºÆäÀ̽º¸¦ Á¦¿ÜÇÑ ÇÁ¸°Æ® °¡´É ¹®ÀÚÀÎÁö °Ë»çÇÑ´Ù.
islower()
¼Ò¹®ÀÚÀÎÁö °Ë»çÇÑ´Ù.
isprint()
½ºÆäÀ̽º¸¦ Æ÷ÇÔÇÑ ÇÁ¸°Æ® °¡´É ¹®ÀÚÀÎÁö °Ë»çÇÑ´Ù.
ispunct()
½ºÆäÀ̽º³ª ¾ËÆĺªµî ¹®ÀÚ¿Í ¼ýÀÚ°¡ ¾Æ´Ñ ÇÁ¸°Æ® °¡´É ¹®ÀÚÀÎÁö °Ë»çÇÑ´Ù.
isspace()
white-space¹®ÀÚ¸¦ °Ë»çÇÑ´Ù. C ¿Í POSIX ·ÎÄÉÀÏ¿¡¼­, ¿©±â¿¡´Â: ½ºÆäÀ̽º, form-feed ('\f'), ´º ¶óÀÎ ('\n'), ij¸®Áö ¸®ÅÏ ('\r'), ¼öÆò ÅÇ ('\t'), ±×¸®°í ¼öÁ÷ ÅÇ ('\v').
isupper()
´ë¹®ÀÚÀÎÁö °Ë»çÇÑ´Ù.
isxdigit()
16Áø¼ö ¼ýÀÚÀÎÁö¸¦ °Ë»çÇÑ´Ù. Áï 0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F.
 

¹Ýȯ°ª

¸®ÅÏ °ªÀº ¸¸ÀÏ ¹®ÀÚ c °¡ Å×½ºÆ®µÇ´Â Á¾·ùÀ̸é 0ÀÌ ¾Æ´Ñ°ªÀÌ ±×·¸Áö ¾ÊÀ¸¸é 0 °ªÀ» ¹ÝȯÇÑ´Ù.  

ȣȯ

ANSI - C, BSD 4.3. isascii() ´Â BSD È®ÀåÀÌ¸ç ¶ÇÇÑ SVID È®ÀåÀÌ´Ù. isblank() ´Â GNU È®ÀåÀÌ´Ù.  

ÁÖÀÇ

Ŭ·¡½º¿¡ ¼ÓÇÑ ¹®ÀÚµéÀÇ ¼¼ºÎ»çÇ×Àº ÇöÀç ·ÎÄÉÀÏ¿¡ ÀÇÁ¸ÇÑ´Ù. ¿¹¸¦ µé¾î, isupper() ´Â A¸¦ ÀνÃÇÏÁö ¸øÇÑ´Ù.-- ±âº» C ·ÎÄÉÀÏ¿¡¼­ ´ë¹®Àڷνá umlaut  

°ü·Ã Ç׸ñ

tolower(3), toupper(3), setlocale(3), ascii(7), locale(7)  

¿ªÀÚ

Á¤°­ÈÆ <skyeyes@soback.kornet.net>, 2001³â 2¿ù 25ÀÏ


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¹Ýȯ°ª
ȣȯ
ÁÖÀÇ
°ü·Ã Ç׸ñ
¿ªÀÚ

This document was created by man2html, using the manual pages.
Time: 08:07:01 GMT, March 25, 2004