1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Sat Oct 23 19:35:47 JST 1999
16 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
18 .TH WCTOB 3 2011-09-22 "GNU" "Linux Programmer's Manual"
21 .\"O wctob \- try to represent a wide character as a single byte
22 wctob \- ¥ï¥¤¥Éʸ»ú¤Î¥·¥ó¥°¥ë¥Ð¥¤¥Èɽ¸½¤ò»î¤ß¤ë
28 .BI "int wctob(wint_t " c );
34 .\"O function tests whether
35 .\"O the multibyte representation of the
36 .\"O wide character \fIc\fP, starting in the initial state, consists of a single
38 .\"O If so, it is returned as an
39 .\"O .IR "unsigned char" .
41 ´Ø¿ô¤Ï¡¢¥ï¥¤¥Éʸ»ú \fIc\fP ¤Î¥Þ¥ë¥Á¥Ð¥¤¥Èɽ¸½(½é´ü¾õÂ֤dz«
42 »Ï)¤¬¥·¥ó¥°¥ë¥Ð¥¤¥Èʸ»ú¤À¤±¤Ç¤Ç¤¤Æ¤¤¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£¤â¤·¤½¤¦¤Ç¤¢
47 .\"O Never use this function.
48 .\"O It cannot help you in writing internationalized
50 .\"O Internationalized programs must never distinguish single-byte and
51 .\"O multibyte characters.
52 ¤³¤Î´Ø¿ô¤Ï·è¤·¤Æ»È¤ï¤Ê¤¤¤³¤È¡£¤³¤Î´Ø¿ô¤Ï¹ñºÝ²½¥×¥í¥°¥é¥à¤ò½ñ¤¯¾å¤Ç¤ÏÌò
53 ¤ËΩ¤¿¤Ê¤¤¡£¹ñºÝ²½¤µ¤ì¤¿¥×¥í¥°¥é¥à¤Ç¤Ï¡¢¥·¥ó¥°¥ë¥Ð¥¤¥Èʸ»ú¤È¥Þ¥ë¥Á¥Ð¥¤¥È
54 ʸ»ú¤ò¶èÊ̤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
55 .\"O .SH "RETURN VALUE"
59 .\"O function returns the single-byte representation of \fIc\fP,
60 .\"O if it exists, of \fBEOF\fP otherwise.
62 ´Ø¿ô¤Ï \fIc\fP ¤Î¥·¥ó¥°¥ë¥Ð¥¤¥Èɽ¸½¤¬Â¸ºß¤¹¤ì¤Ð¡¢¤½¤Îɽ¸½
63 ¤òÊÖ¤¹¡£Â¸ºß¤·¤Ê¤±¤ì¤Ð \fBEOF\fP ¤òÊÖ¤¹¡£
64 .\"O .SH "CONFORMING TO"
76 ¤ÎÆ°ºî¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Î
80 .\"O This function should never be used.
81 .\"O Internationalized programs must never
82 .\"O distinguish single-byte and multibyte characters.
83 .\"O- Use the function
86 .\"O+ or the thread-safe
89 ¤³¤Î´Ø¿ô¤Ï·è¤·¤Æ»È¤¦¤Ù¤¤Ç¤Ï¤Ê¤¤¡£¹ñºÝ²½¥×¥í¥°¥é¥à¤Ç¤Ï¡¢¥·¥ó¥°¥ë¥Ð¥¤¥È
90 ʸ»ú¤È¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¤ò¶èÊ̤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£Âå¤ï¤ê¤Ë¡¢