OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man3 / fcloseall.3
1 .\" Copyright (c) 2006 by Michael Kerrisk <mtk.manpages@gmail.com>
2 .\"
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .\"*******************************************************************
26 .\"
27 .\" This file was generated with po4a. Translate the source file.
28 .\"
29 .\"*******************************************************************
30 .TH FCLOSEALL 3 2006\-12\-27 GNU "Linux Programmer's Manual"
31 .SH 名前
32 fcloseall \- 開いているすべてのストリームを閉じる
33 .SH 書式
34 .nf
35 \fB#define _GNU_SOURCE\fP         /* feature_test_macros(7) 参照 */
36 \fB#include <stdio.h>\fP
37 .sp
38 \fBint fcloseall(void);\fP
39 .fi
40 .SH 説明
41 \fBfcloseall\fP()  関数は、呼び出し元プロセスが開いているすべてのストリームを閉じる。 ストリームを閉じる前に、 (\fBfflush\fP(3)
42 と同じように) 各ストリームのバッファに溜っている出力データは書き出される。 入力バッファ内のデータは破棄される。
43
44 標準入出力 \fIstdin\fP, \fIstdout\fP, \fIstderr\fP も閉じられる。
45 .SH 返り値
46 この関数は、すべてのファイルが正常に閉じられた場合 0 を返す。 エラーの場合、 \fBEOF\fP を返す。
47 .SH 準拠
48 この関数は GNU 拡張である。
49 .SH 関連項目
50 \fBclose\fP(2), \fBfclose\fP(3), \fBfflush\fP(3), \fBfopen\fP(3), \fBsetbuf\fP(3)
51 .SH この文書について
52 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
53 である。プロジェクトの説明とバグ報告に関する情報は
54 http://www.kernel.org/doc/man\-pages/ に書かれている。