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 .\" Japanese Version Copyright (c) 1999 HAYAKAWA Hitoshi
15 .\" all rights reserved.
16 .\" Translated Sep 11 1999, HAYAKAWA Hitoshi <cz8cb01@linux.or.jp>
19 .\"WORD: convert コンバート
20 .\"WORD: single byte シングルバイト
21 .\"WORD: wide character ワイドキャラクター
24 .TH BTOWC 3 2011-09-22 "GNU" "Linux Programmer's Manual"
26 btowc \- シングルバイトをワイド文字にコンバートする
31 .BI "wint_t btowc(int " c );
35 関数は初期シフト状態から始まる長さ 1 のマルチバイトのシーケンスとして
36 解釈され、\fIc\fP をワイド文字にコンバートして返す。
39 もしくは長さ 1 の無効なマルチバイトシーケンスの場合、
46 関数はシングルバイト \fIc\fP からコンバートされたワイド文字を返す。
49 もしくは長さ 1 の無効なマルチバイトシーケンスの場合、
62 この関数は使用されるべきではない。状態(state)を持ったエンコードには使えず、
63 マルチバイトシーケンスとは違い、必ずしもシングルバイト