OSDN Git Service

Retire LDP man-pages repository
[linuxjm/LDP_man-pages.git] / release / man3 / fclose.3
diff --git a/release/man3/fclose.3 b/release/man3/fclose.3
deleted file mode 100644 (file)
index 7cc0c3a..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-.\" Copyright (c) 1990, 1991 The Regents of the University of California.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software contributed to Berkeley by
-.\" Chris Torek and the American National Standards Committee X3,
-.\" on Information Processing Systems.
-.\"
-.\" %%%LICENSE_START(BSD_4_CLAUSE_UCB)
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"    must display the following acknowledgement:
-.\"    This product includes software developed by the University of
-.\"    California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
-.\"    may be used to endorse or promote products derived from this software
-.\"    without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\" %%%LICENSE_END
-.\"
-.\"     @(#)fclose.3   6.7 (Berkeley) 6/29/91
-.\"
-.\" Converted for Linux, Mon Nov 29 15:19:14 1993, faith@cs.unc.edu
-.\"
-.\" Modified 2000-07-22 by Nicolás Lichtmaier <nick@debian.org>
-.\"
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\"
-.\" Japanese Version Copyright (c) 1997 YOSHINO Takashi
-.\"       all rights reserved.
-.\" Translated Mon Jan 20 18:30:47 JST 1997
-.\"       by Takashi Yoshino <tyoshino@eng.toyo.ac.jp>
-.\" Updated Mon Sep 25 01:58:44 JST 2000
-.\"       by Kentaro Shirakata <argrath@ub32.org>
-.\" Updated & Modified Tue Apr  3 20:49:00 JST 2001
-.\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
-.\" Updated & Modified Mon Jan 10 08:08:29 JST 2005
-.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
-.\"
-.TH FCLOSE 3 2015\-01\-22 GNU "Linux Programmer's Manual"
-.SH 名前
-fclose \- ストリームを閉じる
-.SH 書式
-\fB#include <stdio.h>\fP
-.sp
-\fBint fclose(FILE *\fP\fIstream\fP\fB);\fP
-.SH 説明
-\fBfclose\fP() 関数は、 \fIstream\fP が指すストリームを (バッファーリングされて
-いた全ての出力データを \fBfflush\fP(3) を用いて書き込んで) フラッシュし、
-対応するファイルディスクリプターをクローズする。
-.SH 返り値
-関数が正常に終了すると 0 が返される。 正常に終了しなかった場合には \fBEOF\fP が返され、 \fIerrno\fP がエラーを示すために設定される。
-どちらの場合も、そのストリームに対する (\fBfclose\fP()  へのさらなる呼び出しを含む) それ以上のアクセスは 未定義の動作を生じさせる。
-.SH エラー
-.TP 
-\fBEBADF\fP
-.\"  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(stream)).
-\fIstream\fP の基となるファイルディスクリプターが不正である。
-.PP
-\fBfclose\fP()  関数はこれ以外にも \fBclose\fP(2), \fBwrite\fP(2), \fBfflush\fP(3)
-のルーチンで失敗することがある。その場合は \fIerrno\fP が、失敗したルーチンで設定された値に設定される。
-.SH 準拠
-C89, C99.
-.SH 注意
-\fBfclose\fP()  は C ライブラリで提供されたユーザー空間バッファーだけをフラッシュする点に注意すること。
-データを確実に物理的にディスクに記録するためには カーネルバッファーも (\fBsync\fP(2)  や \fBfsync\fP(2)  を用いて)
-フラッシュしなければならない。
-.SH 関連項目
-\fBclose\fP(2), \fBfcloseall\fP(3), \fBfflush\fP(3), \fBfopen\fP(3), \fBsetbuf\fP(3)
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
-である。プロジェクトの説明とバグ報告に関する情報は
-http://www.kernel.org/doc/man\-pages/ に書かれている。