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 57 58 59 60 61 62 63 64 65 66 67
|
.\" 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
.\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
.\"
.\" Japanese Version Copyright (c) 2000 Yuichi SATO
.\" all rights reserved.
.\" Translated Tue Jul 11 19:02:58 JST 2000
.\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
.\"
.\"WORD: allocate Ƥ
.\"WORD: descriptor ǥץ
.\"WORD: conversion Ѵ
.\"WORD: sequence ʸ
.\"WORD:
.\"
.TH ICONV_OPEN 3 "November 27, 1999" "GNU" "Linux Programmer's Manual"
.SH ̾
iconv_open \- ʸåѴΤΥǥץƤ
.SH
.nf
.B #include <iconv.h>
.sp
.BI "iconv_t iconv_open(const char *" tocode ", const char *" fromcode );
.fi
.SH
\fBiconv_open\fP ؿϡʸǥ \fIfromcode\fP
ʸǥ \fItocode\fP ؤΥХʸѴŬ
ѴǥץƤ롣
.PP
\fIfromcode\fP \fItocode\fP ˻ȤȤΤǤͤȡ
ݡȤȹ礻ϡƥ˰¸롣
GNU C 饤֥ǤϡȤȤΤǤͤ
\fBiconv --list\fP ޥɤǥꥹȤ졢
ꥹȤ줿٤Ƥͤȹ礻ݡȤ롣
.PP
̤ȤѴǥץϡ\fBiconv\fP
٤ǤȤȤǤ롣
\fBiconv_close\fP ȤäƲޤͭǤ롣
.PP
ѴǥץѴ֤ġ
\fBiconv_open\fP Ѥ줿塢Ѵ֤Ͻ֤Ǥ롣
\fBiconv\fP ȤȤˤꡢǥץѴ֤ѹ롣
(Ѵǥץϥޥåɤ
Ʊ˻ȤȤǤʤȤ̣Ƥ롣)
Ѵ֤֤᤹ˤϡ
\fIinbuf\fP NULL Ȥ \fBiconv\fP Ѥ뤳ȡ
.SH ֤
\fBiconv_open\fP ؿϡ˳Ƥ줿Ѵǥץ֤
顼ξ硢δؿ \fBerrno\fP ꤷ(iconv_t)(-1) ֤
.SH 顼
¾Τʥ顼ΤʲΥ顼ꤦ롣
.TP
.B EINVAL
\fIfromcode\fP \fItocode\fP ؤѴϡμǤϥݡȤƤʤ
.SH
UNIX98
.SH Ϣ
.BR iconv (3),
.BR iconv_close (3),
.BR iconv (1)
|