BTOWC
Section: Linux Programmer's Manual
(3)
Updated: July 25, 1999
Index
Return to Main Contents
À̸§
btowc - single byte ¸¦ wide ¹®ÀÚ·Î º¯È¯
»ç¿ë¹ý
#include <wchar.h>
wint_t btowc (int c);
¼³¸í
btowc ÇÔ¼ö´Â Ãʱâ À̵¿ »óÅ¿¡¼ ½ÃÀÛÇؼ ±æÀÌ 1ÀÇ ¸ÖƼ¹ÙÀÌÆ® ½ÃÄö½º·Î
Çؼ®µÇ´Â c¸¦ wide ¹®ÀÚ·Î ¹Ù²Ù°í, ±×°ÍÀ» ¹ÝȯÇÑ´Ù.
c°¡ EOFÀ̰ųª È®½ÇÇÑ ±æÀÌ 1ÀÇ ¸ÖƼ¹ÙÀÌÆ® ½ÃÄö½º¶ó¸é, ,
btowc ÇÔ¼ö´Â WEOF·Î µ¹¾Æ°£´Ù.
¹Ýȯ°ª
btowc ÇÔ¼ö´Â 1 ¹ÙÀÌÆ®¸¦ ¹Ù²Û wide ¹®ÀÚ¸¦ ¹ÝȯÇÑ´Ù.
c °¡ EOF°Å³ª È®½ÇÇÑ ±æÀÌ 1ÀÇ ¸ÖƼ¹ÙÀÌÆ® ½ÃÄö½º¶ó¸é,
WEOF¸¦ ¹ÝȯÇÑ´Ù..
ȣȯ
ISO/ANSI C, UNIX98
°ü·Ã Ç׸ñ
mbtowc(3)
ÁÖÀÇ
btowcÀÇ ½ÇÇàÀº ÇöÁ¦ ·ÎÄÃÀÇ LC_CTYPE ºÐ·ù¿¡ µû¸¥´Ù..
This function should never be used. It does not work for encodings which have
state, and unnecessarily treats single bytes differently from multibyte
sequences. Use the function mbtowc instead.
Index
- À̸§
-
- »ç¿ë¹ý
-
- ¼³¸í
-
- ¹Ýȯ°ª
-
- ȣȯ
-
- °ü·Ã Ç׸ñ
-
- ÁÖÀÇ
-
This document was created by
man2html,
using the manual pages.
Time: 08:07:01 GMT, March 25, 2004