1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2015-01-23 22:24+0900\n"
10 "PO-Revision-Date: 2015-01-25 07:18+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
19 #: build/C/man3/iconv.3:18
25 #: build/C/man3/iconv.3:18
31 #: build/C/man3/iconv.3:18 build/C/man3/iconv_close.3:14
32 #: build/C/man3/iconv_open.3:18
38 #: build/C/man3/iconv.3:18 build/C/man3/iconv_close.3:14
39 #: build/C/man3/iconv_open.3:18
41 msgid "Linux Programmer's Manual"
42 msgstr "Linux Programmer's Manual"
45 #: build/C/man3/iconv.3:19 build/C/man3/iconv_close.3:15
46 #: build/C/man3/iconv_open.3:19
52 #: build/C/man3/iconv.3:21
53 msgid "iconv - perform character set conversion"
54 msgstr "iconv - 文字セット変換を行う"
57 #: build/C/man3/iconv.3:21 build/C/man3/iconv_close.3:17
58 #: build/C/man3/iconv_open.3:21
64 #: build/C/man3/iconv.3:24 build/C/man3/iconv_close.3:20
65 #: build/C/man3/iconv_open.3:24
67 msgid "B<#include E<lt>iconv.hE<gt>>\n"
68 msgstr "B<#include E<lt>iconv.hE<gt>>\n"
71 #: build/C/man3/iconv.3:28
74 "B<size_t iconv(iconv_t >I<cd>B<,>\n"
75 "B< char **>I<inbuf>B<, size_t *>I<inbytesleft>B<,>\n"
76 "B< char **>I<outbuf>B<, size_t *>I<outbytesleft>B<);>\n"
78 "B<size_t iconv(iconv_t >I<cd>B<,>\n"
79 "B< char **>I<inbuf>B<, size_t *>I<inbytesleft>B<,>\n"
80 "B< char **>I<outbuf>B<, size_t *>I<outbytesleft>B<);>\n"
83 #: build/C/man3/iconv.3:29 build/C/man3/iconv_close.3:23
84 #: build/C/man3/iconv_open.3:27
90 #: build/C/man3/iconv.3:54
92 "The B<iconv>() function converts a sequence of characters in one character "
93 "encoding to a sequence of characters in another character encoding. The "
94 "I<cd> argument is a conversion descriptor, previously created by a call to "
95 "B<iconv_open>(3); the conversion descriptor defines the character encodings "
96 "that B<iconv>() uses for the conversion. The I<inbuf> argument is the "
97 "address of a variable that points to the first character of the input "
98 "sequence; I<inbytesleft> indicates the number of bytes in that buffer. The "
99 "I<outbuf> argument is the address of a variable that points to the first "
100 "byte available in the output buffer; I<outbytesleft> indicates the number of "
101 "bytes available in the output buffer."
103 "B<iconv>() 関数は、ある文字エンコーディングの文字シーケンス列を別の文字\n"
104 "エンコーディングの文字シーケンスに変換する。I<cd> 引き数は変換ディスク\n"
105 "リプタ (conversion descriptor) であり、以前は B<iconv_open>(3) を呼び出\n"
106 "すことで生成されていた。変換ディスクリプターは B<iconv>() が変換に使用す\n"
107 "る文字エンコーディングを定義するものである。 I<inbuf> 引き数は入力シー\n"
108 "ケンスの先頭バイトを指す変数のアドレスであり、I<inbytesleft> は入力シー\n"
109 "ケンスのバッファーのバイト数を示す。I<outbuf> 引き数は出力バッファーで利用\n"
110 "できる先頭バイトを指す変数のアドレスであり、 I<outbytesleft> は出力\n"
114 #: build/C/man3/iconv.3:62
116 "The main case is when I<inbuf> is not NULL and I<*inbuf> is not NULL. In "
117 "this case, the B<iconv>() function converts the multibyte sequence starting "
118 "at I<*inbuf> to a multibyte sequence starting at I<*outbuf>. At most "
119 "I<*inbytesleft> bytes, starting at I<*inbuf>, will be read. At most "
120 "I<*outbytesleft> bytes, starting at I<*outbuf>, will be written."
122 "主に使われるのは、 「I<inbuf> が NULL でなく、かつ I<*inbuf> が NULL でな"
123 "い」 という場合である。 この場合、 B<iconv>() 関数は、 I<*inbuf> で始まるマ"
124 "ルチバイト文字列を I<*outbuf> で始まるマルチバイト文字列に変換する。 "
125 "I<*inbuf> を先頭として最大 I<*inbytesleft> バイトが読み込まれ、 I<*outbuf> を"
126 "先頭として最大 I<*outbytesleft> バイトが書き出される。"
129 #: build/C/man3/iconv.3:76
131 "The B<iconv>() function converts one multibyte character at a time, and for "
132 "each character conversion it increments I<*inbuf> and decrements "
133 "I<*inbytesleft> by the number of converted input bytes, it increments "
134 "I<*outbuf> and decrements I<*outbytesleft> by the number of converted output "
135 "bytes, and it updates the conversion state contained in I<cd>. If the "
136 "character encoding of the input is stateful, the B<iconv>() function can "
137 "also convert a sequence of input bytes to an update to the conversion state "
138 "without producing any output bytes; such input is called a I<shift "
139 "sequence>. The conversion can stop for four reasons:"
141 "B<iconv>() 関数は 1 度に 1 つのマルチバイト文字を変換する。 そして、各文字変"
142 "換毎に、変換された入力バイトの数だけ I<*inbuf> を増加させ、I<*inbytesleft> を"
143 "減少させる。 また、変換された出力バイトの数だけ I<*outbuf> を増加させ、"
144 "I<*outbytesleft> を減少させる。 さらに、I<cd> に含まれる変換状態を更新する。 "
145 "入力の文字エンコーディングがが状態を持つ場合、 B<iconv>() 関数は入力バイトの"
146 "列に対して変換にも対応しており、 バイト出力を伴わずに変換状態を更新することが"
147 "できる。 変換は、次の 4 つの場合に停止する。"
150 #: build/C/man3/iconv.3:76
156 #: build/C/man3/iconv.3:83
158 "An invalid multibyte sequence is encountered in the input. In this case, it "
159 "sets I<errno> to B<EILSEQ> and returns I<(size_t)\\ -1>. I<*inbuf> is left "
160 "pointing to the beginning of the invalid multibyte sequence."
162 "入力に無効なマルチバイト文字列があった場合。この場合、\n"
163 "関数は I<errno> を B<EILSEQ> に設定し、 I<(size_t)\\ -1> を返す。\n"
164 "I<*inbuf> は、無効なマルチバイト文字列の先頭を指したままになる。"
167 #: build/C/man3/iconv.3:83
173 #: build/C/man3/iconv.3:90
175 "The input byte sequence has been entirely converted, that is, "
176 "I<*inbytesleft> has gone down to 0. In this case, B<iconv>() returns the "
177 "number of nonreversible conversions performed during this call."
179 "入力バイト文字列が完全に変換され、I<*inbytesleft> が 0 になった場合。\n"
180 "この場合、 B<iconv>() は呼出しの間に非可逆変換が行われた回数を返す。"
183 #: build/C/man3/iconv.3:90
189 #: build/C/man3/iconv.3:98
191 "An incomplete multibyte sequence is encountered in the input, and the input "
192 "byte sequence terminates after it. In this case, it sets I<errno> to "
193 "B<EINVAL> and returns I<(size_t)\\ -1>. I<*inbuf> is left pointing to the "
194 "beginning of the incomplete multibyte sequence."
196 "入力に不完全なマルチバイト文字列があり、入力バイト文字列がその後で終了\n"
197 "している場合。この場合、関数は、I<errno> を B<EINVAL> に設定し、\n"
198 "I<(size_t)\\ -1> を返す。 I<*inbuf> は、不完全なマルチバイト文字列の先頭\n"
202 #: build/C/man3/iconv.3:98
208 #: build/C/man3/iconv.3:102
210 "The output buffer has no more room for the next converted character. In "
211 "this case, it sets I<errno> to B<E2BIG> and returns I<(size_t)\\ -1>."
213 "出力バッファーに次の変換された文字列のための空きがない場合。 この場合、\n"
214 "I<errno> が B<E2BIG> に設定され、 I<(size_t)\\ -1> が返される。"
217 #: build/C/man3/iconv.3:116
219 "A different case is when I<inbuf> is NULL or I<*inbuf> is NULL, but "
220 "I<outbuf> is not NULL and I<*outbuf> is not NULL. In this case, the "
221 "B<iconv>() function attempts to set I<cd>'s conversion state to the initial "
222 "state and store a corresponding shift sequence at I<*outbuf>. At most "
223 "I<*outbytesleft> bytes, starting at I<*outbuf>, will be written. If the "
224 "output buffer has no more room for this reset sequence, it sets I<errno> to "
225 "B<E2BIG> and returns I<(size_t)\\ -1>. Otherwise, it increments I<*outbuf> "
226 "and decrements I<*outbytesleft> by the number of bytes written."
228 "別のケースとしては、 「I<inbuf> が NULL、または I<*inbuf> が NULL である。 し"
229 "かし、I<outbuf> が NULL でなく、かつ I<*outbuf> が NULL でない」 という場合が"
230 "ある。 この場合、 B<iconv>() 関数は、I<cd> の変換状態を初期状態にして、 対応"
231 "するシフト文字列を I<*outbuf> に保存しようとする。 最大 I<*outbytesleft> バイ"
232 "トが、I<*outbuf> を始めとして書き出される。 このリセットされた文字列に対し"
233 "て、出力バッファーに空きがない場合、 この関数は I<errno> を B<E2BIG> に設定"
234 "し、 I<(size_t)\\ -1> を返す。 それ以外の場合、この関数は、書き込まれたバイト"
235 "の数だけ I<*outbuf> を増加させ、I<*outbytesleft> を減少させる。"
238 #: build/C/man3/iconv.3:122
240 "A third case is when I<inbuf> is NULL or I<*inbuf> is NULL, and I<outbuf> is "
241 "NULL or I<*outbuf> is NULL. In this case, the B<iconv>() function sets "
242 "I<cd>'s conversion state to the initial state."
244 "3 番目のケースしては、 「I<inbuf> が NULL、または I<*inbuf> が NULL である。 "
245 "かつ、I<outbuf> が NULL、または I<*outbuf> が NULL である」 という場合があ"
246 "る。 この場合、 B<iconv>() 関数は、I<cd> の変換状態を初期状態にする。"
249 #: build/C/man3/iconv.3:122 build/C/man3/iconv_close.3:30
250 #: build/C/man3/iconv_open.3:86
256 #: build/C/man3/iconv.3:129
258 "The B<iconv>() function returns the number of characters converted in a "
259 "nonreversible way during this call; reversible conversions are not counted. "
260 "In case of error, it sets I<errno> and returns I<(size_t)\\ -1>."
262 "B<iconv>() 関数は、呼出しの間に非可逆な方法で変換された文字数を返す。 つま"
263 "り、可逆変換はカウントされない。 エラーの場合、この関数は I<errno> を設定"
264 "し、 I<(size_t)\\ -1> を返す。"
267 #: build/C/man3/iconv.3:129 build/C/man3/iconv_open.3:95
273 #: build/C/man3/iconv.3:131
274 msgid "The following errors can occur, among others:"
275 msgstr "他のいろいろなエラーのうちから、以下のエラーが起こりうる。"
278 #: build/C/man3/iconv.3:131
284 #: build/C/man3/iconv.3:134
285 msgid "There is not sufficient room at I<*outbuf>."
286 msgstr "I<*outbuf> に十分な空きがない。"
289 #: build/C/man3/iconv.3:134
295 #: build/C/man3/iconv.3:137
296 msgid "An invalid multibyte sequence has been encountered in the input."
297 msgstr "入力に無効なマルチバイト文字列があった。"
300 #: build/C/man3/iconv.3:137 build/C/man3/iconv_open.3:97
306 #: build/C/man3/iconv.3:140
307 msgid "An incomplete multibyte sequence has been encountered in the input."
308 msgstr "入力に不完全なマルチバイト文字列があった。"
311 #: build/C/man3/iconv.3:140 build/C/man3/iconv_close.3:37
312 #: build/C/man3/iconv_open.3:105
318 #: build/C/man3/iconv.3:142 build/C/man3/iconv_close.3:39
319 #: build/C/man3/iconv_open.3:107
320 msgid "This function is available in glibc since version 2.1."
321 msgstr "この関数はバージョン 2.1 以降の glibc で利用可能である。"
324 #: build/C/man3/iconv.3:142
330 #: build/C/man3/iconv.3:143
332 msgid "Multithreading (see pthreads(7))"
333 msgstr "マルチスレッディング (pthreads(7) 参照)"
336 #: build/C/man3/iconv.3:147
337 msgid "The B<iconv>() function is thread-safe."
338 msgstr "B<iconv>() 関数はスレッドセーフである。"
341 #: build/C/man3/iconv.3:147 build/C/man3/iconv_close.3:39
342 #: build/C/man3/iconv_open.3:107
344 msgid "CONFORMING TO"
348 #: build/C/man3/iconv.3:149
349 msgid "POSIX.1-2001."
350 msgstr "POSIX.1-2001."
353 #: build/C/man3/iconv.3:149
359 #: build/C/man3/iconv.3:161
361 "Although I<inbuf> and I<outbuf> are typed as I<char\\ **>, this does not "
362 "mean that the objects they point can be interpreted as C strings or as "
363 "arrays of characters: the interpretation of character byte sequences is "
364 "handled internally by the conversion functions. In some encodings, a zero "
365 "byte may be a valid part of a multibyte character."
367 "I<inbuf> と I<outbuf> は I<char\\ **> 型だが、これらの変数が指す\n"
368 "オブジェクトが C の文字列、つまり文字の配列として解釈されることを意味\n"
369 "するわけではない。文字バイトシーケンスの解釈は変換関数の内部で行われる。\n"
370 "エンコーディングによっては、バイト 0 もマルチバイト文字の有効な\n"
374 #: build/C/man3/iconv.3:168
376 "The caller of B<iconv>() must ensure that the pointers passed to the "
377 "function are suitable for accessing characters in the appropriate character "
378 "set. This includes ensuring correct alignment on platforms that have tight "
379 "restrictions on alignment."
381 "B<iconv>() の呼び出し元は、 B<iconv>() に渡すポインターが、\n"
382 "必要な文字集合の文字にアクセスするのに適したものとなっていることを\n"
383 "保証しなければならない。これには、アライメントに関して厳しい制限が\n"
384 "あるプラットフォームにおいて正しいアライメントになっていることを\n"
388 #: build/C/man3/iconv.3:168 build/C/man3/iconv_close.3:41
389 #: build/C/man3/iconv_open.3:109
395 #: build/C/man3/iconv.3:172
396 msgid "B<iconv_close>(3), B<iconv_open>(3), B<iconvconfig>(8)"
397 msgstr "B<iconv_close>(3), B<iconv_open>(3), B<iconvconfig>(8)"
400 #: build/C/man3/iconv.3:172 build/C/man3/iconv_close.3:44
401 #: build/C/man3/iconv_open.3:113
407 #: build/C/man3/iconv.3:180 build/C/man3/iconv_close.3:52
408 #: build/C/man3/iconv_open.3:121
410 "This page is part of release 3.78 of the Linux I<man-pages> project. A "
411 "description of the project, information about reporting bugs, and the latest "
412 "version of this page, can be found at \\%http://www.kernel.org/doc/man-"
415 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.78 の一部\n"
416 "である。プロジェクトの説明とバグ報告に関する情報は\n"
417 "http://www.kernel.org/doc/man-pages/ に書かれている。"
420 #: build/C/man3/iconv_close.3:14
426 #: build/C/man3/iconv_close.3:14 build/C/man3/iconv_open.3:18
432 #: build/C/man3/iconv_close.3:17
433 msgid "iconv_close - deallocate descriptor for character set conversion"
434 msgstr "iconv_close - 文字セット変換のためのディスクリプターを解放する"
437 #: build/C/man3/iconv_close.3:22
439 msgid "B<int iconv_close(iconv_t >I<cd>B<);>\n"
440 msgstr "B<int iconv_close(iconv_t >I<cd>B<);>\n"
443 #: build/C/man3/iconv_close.3:30
445 "The B<iconv_close>() function deallocates a conversion descriptor I<cd> "
446 "previously allocated using B<iconv_open>(3)."
448 "B<iconv_close>() 関数は、 B<iconv_open>(3) を使って以前に割り当てられた 変"
449 "換ディスクリプター I<cd> を解放する。"
452 #: build/C/man3/iconv_close.3:37
454 "When successful, the B<iconv_close>() function returns 0. In case of "
455 "error, it sets I<errno> and returns -1."
457 "成功した場合、 B<iconv_close>() 関数は 0 を返す。 エラーの場合、この関数は "
458 "I<errno> を設定し -1 を返す。"
461 #: build/C/man3/iconv_close.3:41 build/C/man3/iconv_open.3:109
462 msgid "UNIX98, POSIX.1-2001."
463 msgstr "UNIX98, POSIX.1-2001."
466 #: build/C/man3/iconv_close.3:44
467 msgid "B<iconv>(3), B<iconv_open>(3)"
468 msgstr "B<iconv>(3), B<iconv_open>(3)"
471 #: build/C/man3/iconv_open.3:18
477 #: build/C/man3/iconv_open.3:21
478 msgid "iconv_open - allocate descriptor for character set conversion"
479 msgstr "iconv_open - 文字セット変換のためのディスクリプターを割り当てる"
482 #: build/C/man3/iconv_open.3:26
484 msgid "B<iconv_t iconv_open(const char *>I<tocode>B<, const char *>I<fromcode>B<);>\n"
485 msgstr "B<iconv_t iconv_open(const char *>I<tocode>B<, const char *>I<fromcode>B<);>\n"
488 #: build/C/man3/iconv_open.3:36
490 "The B<iconv_open>() function allocates a conversion descriptor suitable for "
491 "converting byte sequences from character encoding I<fromcode> to character "
492 "encoding I<tocode>."
494 "B<iconv_open>() 関数は、文字エンコーディング I<fromcode> から 文字エンコー"
495 "ディング I<tocode> へのバイト文字列変換に適した 変換ディスクリプターを割り当"
499 #: build/C/man3/iconv_open.3:50
501 "The values permitted for I<fromcode> and I<tocode> and the supported "
502 "combinations are system-dependent. For the GNU C library, the permitted "
503 "values are listed by the I<iconv --list> command, and all combinations of "
504 "the listed values are supported. Furthermore the GNU C library and the GNU "
505 "libiconv library support the following two suffixes:"
507 "I<fromcode> と I<tocode> に使うことのできる値と、 サポートされる組み合わせ"
508 "は、システムに依存する。 GNU C ライブラリでは、使うことのできる値は I<iconv "
509 "--list> コマンドでリストされ、 リストされたすべての値の組み合わせがサポートさ"
510 "れる。 さらに、 GNU C ライブラリと GNU libiconv ライブラリでは、 以下の接尾辞"
514 #: build/C/man3/iconv_open.3:50
520 #: build/C/man3/iconv_open.3:59
522 "When the string \"//TRANSLIT\" is appended to I<tocode>, transliteration is "
523 "activated. This means that when a character cannot be represented in the "
524 "target character set, it can be approximated through one or several "
525 "similarly looking characters."
527 "I<tocode> の後ろに文字列 \"//TRANSLIT\" が付いている場合、 翻訳 "
528 "(transliteration) が有効になる。この場合、 変換先の文字セットで表現できない文"
529 "字を、その文字と同じように見える 文字 (複数文字の場合もある) で表現することが"
533 #: build/C/man3/iconv_open.3:59
539 #: build/C/man3/iconv_open.3:65
541 "When the string \"//IGNORE\" is appended to I<tocode>, characters that "
542 "cannot be represented in the target character set will be silently discarded."
544 "I<tocode> の後ろに文字列 \"//IGNORE\" が付いている場合、 変換先の文字セットで"
548 #: build/C/man3/iconv_open.3:71
550 "The resulting conversion descriptor can be used with B<iconv>(3) any number "
551 "of times. It remains valid until deallocated using B<iconv_close>(3)."
553 "この関数を読んで得られた変換ディスクリプターは、 B<iconv>(3) で 何度でも使う"
554 "ことができる。 これは B<iconv_close>(3) を使って解放されるまで有効である。"
557 #: build/C/man3/iconv_open.3:86
559 "A conversion descriptor contains a conversion state. After creation using "
560 "B<iconv_open>(), the state is in the initial state. Using B<iconv>(3) "
561 "modifies the descriptor's conversion state. (This implies that a conversion "
562 "descriptor can not be used in multiple threads simultaneously.) To bring "
563 "the state back to the initial state, use B<iconv>(3) with NULL as I<inbuf> "
566 "変換ディスクリプターは変換状態を持つ。 B<iconv_open>() を用いて生成された"
567 "後、変換状態は初期状態である。 B<iconv>(3) を使うことにより、ディスクリプ"
568 "ターの変換状態が変更される。 (変換ディスクリプターはマルチスレッドで 同時に使"
569 "うことができないことを意味している。) 変換状態を初期状態に戻すには、 "
570 "I<inbuf> 引き数を NULL として B<iconv>(3) を用いること。"
573 #: build/C/man3/iconv_open.3:95
575 "The B<iconv_open>() function returns a freshly allocated conversion "
576 "descriptor. In case of error, it sets I<errno> and returns I<(iconv_t)\\ "
579 "B<iconv_open>() 関数は、新たに割り当てられた変換ディスクリプターを返す。 エ"
580 "ラーの場合、この関数は I<errno> を設定し、 I<(iconv_t)\\ -1> を返す。"
583 #: build/C/man3/iconv_open.3:97
584 msgid "The following error can occur, among others:"
585 msgstr "他のいろいろなエラーのうち、以下のエラーが起こりうる。"
588 #: build/C/man3/iconv_open.3:105
590 "The conversion from I<fromcode> to I<tocode> is not supported by the "
593 "I<fromcode> から I<tocode> への変換は、この実装ではサポートされていない。"
596 #: build/C/man3/iconv_open.3:113
597 msgid "B<iconv>(1), B<iconv>(3), B<iconv_close>(3)"
598 msgstr "B<iconv>(1), B<iconv>(3), B<iconv_close>(3)"