OSDN Git Service

(split) LDP: Update the version to 3.53 in PO files
[linuxjm/LDP_man-pages.git] / draft / man3 / ungetwc.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\" %%%LICENSE_END
9 .\"
10 .\" References consulted:
11 .\"   GNU glibc-2 source code and manual
12 .\"   Dinkumware C library reference http://www.dinkumware.com/
13 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
14 .\"   ISO/IEC 9899:1999
15 .\"
16 .\"*******************************************************************
17 .\"
18 .\" This file was generated with po4a. Translate the source file.
19 .\"
20 .\"*******************************************************************
21 .TH UNGETWC 3 1999\-09\-19 GNU "Linux Programmer's Manual"
22 .SH 名前
23 ungetwc \- ワイド文字を FILE ストリームへ戻す
24 .SH 書式
25 .nf
26 \fB#include <wchar.h>\fP
27 .sp
28 \fBwint_t ungetwc(wint_t \fP\fIwc\fP\fB, FILE *\fP\fIstream\fP\fB);\fP
29 .fi
30 .SH 説明
31 \fBungetwc\fP()  関数は \fBungetc\fP(3)  関数のワイド文字版である。 この関数はワイド文字を \fIstream\fP
32 へ戻して、それを返す。
33 .PP
34 \fIwc\fP が \fBWEOF\fP の場合、 \fBWEOF\fP を返す。 \fIwc\fP が不正なワイド文字の場合、 \fIerrno\fP に \fBEILSEQ\fP
35 を設定して \fBWEOF\fP を返す。
36 .PP
37 \fIwc\fP が有効なワイド文字の場合、それをストリームへと戻して後の
38 ワイド文字読み込み操作で取得できるようにする。ファイル位置(file\-position)
39 指示子は1以上戻される。ファイル終端(end\-of\-file)指示子はクリアされる。 そのファイルの背後にある記憶媒体は影響を受けない。
40 .PP
41 注意: \fIwc\fP はストリームから読み込んだ最後のワイド文字である必要はない。 有効なワイド文字ならば何でも良い。
42 .PP
43 続けて複数のワイド文字を戻すことをサポートしている実装の場合は、 戻したワイド文字は、戻したのとは逆の順番で読み込まれる。
44 しかしこの場合でも一段階の戻ししか保証されていない。
45 .SH 返り値
46 \fBungetwc\fP()  関数は成功した場合には \fIwc\fP を返す。 失敗した場合には \fBWEOF\fP を返す。
47 .SH 準拠
48 C99.
49 .SH 注意
50 \fBungetwc\fP()  関数の動作は現在のロケールの \fBLC_CTYPE\fP カテゴリに依存している。
51 .SH 関連項目
52 \fBfgetwc\fP(3)
53 .SH この文書について
54 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
55 である。プロジェクトの説明とバグ報告に関する情報は
56 http://www.kernel.org/doc/man\-pages/ に書かれている。