.SH 書式
\fB#include <stdio.h>\fP
.sp
-\fBint fclose(FILE *\fP\fIfp\fP\fB);\fP
+\fBint fclose(FILE *\fP\fIstream\fP\fB);\fP
.SH 説明
-\fBfclose\fP() 関数は、 \fIfp\fP が指すストリームを (バッファリングされて
+\fBfclose\fP() 関数は、 \fIstream\fP が指すストリームを (バッファリングされて
いた全ての出力データを \fBfflush\fP(3) を用いて書き込んで) フラッシュし、
対応するファイルディスクリプタをクローズする。
.SH 返り値
.\" This error cannot occur unless you are mixing ANSI C stdio operations and
.\" low-level file operations on the same stream. If you do get this error,
.\" you must have closed the stream's low-level file descriptor using
-.\" something like close(fileno(fp)).
-\fIfp\fP の基となるファイルディスクリプタが不正である。
+.\" something like close(fileno(stream)).
+\fIstream\fP の基となるファイルディスクリプタが不正である。
.PP
\fBfclose\fP() 関数はこれ以外にも \fBclose\fP(2), \fBwrite\fP(2), \fBfflush\fP(3)
のルーチンで失敗することがある。その場合は \fIerrno\fP が、失敗したルーチンで設定された値に設定される。
フラッシュしなければならない。
.SH 関連項目
\fBclose\fP(2), \fBfcloseall\fP(3), \fBfflush\fP(3), \fBfopen\fP(3), \fBsetbuf\fP(3)
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部
-である。プロジェクトの説明とバグ報告に関する情報は
-http://www.kernel.org/doc/man\-pages/ に書かれている。