1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" References consulted:
.\" GNU glibc-2 source code and manual
.\" Dinkumware C library reference http://www.dinkumware.com/
.\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
.\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
.\" Translated Sat Oct 23 19:35:47 JST 1999
.\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
.\"
.TH WCTOB 3 2009-02-04 "GNU" "Linux Programmer's Manual"
.SH ̾
wctob \- 磻ʸΥХɽߤ
.SH
.nf
.B #include <wchar.h>
.sp
.BI "int wctob(wint_t " c );
.fi
.SH
.BR wctob ()
ؿϡ磻ʸ \fIc\fP ΥޥХɽ(֤dz
)ХʸǤǤƤ뤫ɤĴ٤롣⤷Ǥ
С
.I "unsigned char"
Ȥ֤
.PP
δؿϷ褷ƻȤʤȡδؿϹݲץǤ
Ωʤݲ줿ץǤϡХʸȥޥХ
ʸ̤ƤϤʤʤ
.SH ֤
.BR wctob ()
ؿ \fIc\fP ΥХɽ¸ߤСɽ
֤¸ߤʤ \fBEOF\fP ֤
.SH
C99.
.SH
.BR wctob ()
ưϡߤΥ
.B LC_CTYPE
ƥ˰¸롣
.PP
δؿϷ褷ƻȤ٤ǤϤʤݲץǤϡХ
ʸȥޥХʸ̤ƤϤʤʤδؿǤϤʤ
.BR wctomb (3)
ؿȤȡ
.SH Ϣ
.BR btowc (3),
.BR wctomb (3)
|