OSDN Git Service

Retire LDP man-pages repository
[linuxjm/LDP_man-pages.git] / release / man2 / sync.2
diff --git a/release/man2/sync.2 b/release/man2/sync.2
deleted file mode 100644 (file)
index 255fd72..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-.\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992
-.\" and Copyright (c) 2011 Michael Kerrisk <mtk.manpages@gmail.com>
-.\"
-.\" %%%LICENSE_START(VERBATIM)
-.\" Permission is granted to make and distribute verbatim copies of this
-.\" manual provided the copyright notice and this permission notice are
-.\" preserved on all copies.
-.\"
-.\" Permission is granted to copy and distribute modified versions of this
-.\" manual under the conditions for verbatim copying, provided that the
-.\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one.
-.\"
-.\" Since the Linux kernel and libraries are constantly changing, this
-.\" manual page may be incorrect or out-of-date.  The author(s) assume no
-.\" responsibility for errors or omissions, or for damages resulting from
-.\" the use of the information contained herein.  The author(s) may not
-.\" have taken the same level of care in the production of this manual,
-.\" which is licensed free of charge, as they might when working
-.\" professionally.
-.\"
-.\" Formatted or processed versions of this manual, if unaccompanied by
-.\" the source, must acknowledge the copyright and authors of this work.
-.\" %%%LICENSE_END
-.\"
-.\" Modified by Michael Haardt <michael@moria.de>
-.\" Modified Sat Jul 24 12:02:47 1993 by Rik Faith <faith@cs.unc.edu>
-.\" Modified 15 Apr 1995 by Michael Chastain <mec@shell.portal.com>:
-.\"   Added reference to `bdflush(2)'.
-.\" Modified 960414 by Andries Brouwer <aeb@cwi.nl>:
-.\"   Added the fact that since 1.3.20 sync actually waits.
-.\" Modified Tue Oct 22 22:27:07 1996 by Eric S. Raymond <esr@thyrsus.com>
-.\" Modified 2001-10-10 by aeb, following Michael Kerrisk.
-.\" 2011-09-07, mtk, Added syncfs() documentation,
-.\"
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\"
-.\" Japanese Version Copyright (c) 1997 Daisuke Sato
-.\"         all rights reserved.
-.\" Translated Sat Apr 19 15:22:53 JST 1997
-.\"         by Daisuke Sato
-.\" Modified Sun Mar 21 17:23:38 JST 1999
-.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
-.\" Updated Tue Oct 16 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
-.\" Updated Mon Sep  8 JST 2003 by Kentaro Shirakata <argrath@ub32.org>
-.\"
-.TH SYNC 2 2014\-08\-19 Linux "Linux Programmer's Manual"
-.SH 名前
-sync, syncfs \- バッファーキャッシュをディスクに書き込む
-.SH 書式
-\fB#include <unistd.h>\fP
-.sp
-\fBvoid sync(void);\fP
-.sp
-\fBint syncfs(int \fP\fIfd\fP\fB);\fP
-.sp
-.in -4n
-glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
-.in
-.sp
-\fBsync\fP():
-.ad l
-.RS 4
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
-.RE
-.ad
-.sp
-\fBsyncfs\fP():
-.ad l
-.RS 4
-_GNU_SOURCE
-.RE
-.ad
-.SH 説明
-\fBsync\fP() を呼び出すと、バッファーされたファイルのメタデータとデータ本体に
-対して行われた全ての変更が、対応するファイルシステムに書き込まれる。
-
-\fBsyncfs\fP() は \fBsync\fP() と同様だが、オープンされたファイルディスクリプター \fIfd\fP
-が参照するファイルを含むファイルシステムだけを同期する点が異なる。
-.SH 返り値
-\fBsyncfs\fP() は成功すると 0 を返す。エラーが発生した場合は \-1 を返し、
-\fIerrno\fP にエラーを示す値を設定する。
-.SH エラー
-\fBsync\fP() は常に成功する。
-
-\fBsyncfs\fP() は少なくとも以下の理由で失敗する可能性がある:
-.TP 
-\fBEBADF\fP
-\fIfd\fP が有効なファイルディスクリプターでない。。
-.SH バージョン
-\fBsyncfs\fP() は Linux 2.6.39 で初めて登場した。
-ライブラリによるサポートは glibc バージョン 2.14 で追加された。
-.SH 準拠
-\fBsync\fP(): SVr4, 4.3BSD, POSIX.1\-2001.
-
-\fBsyncfs\fP() is Linux 固有である。
-.SH 注意
-Linux での \fBsync\fP() のプロトタイプは、さまざまな標準規格での規定に準拠し、
-glibc 2.2.2 から上述のようになった。
-glibc 2.2.1 以前ではプロトタイプは "int sync(void)" で、
-\fBsync\fP()  は常に 0 を返していた。
-.SH バグ
-標準規格 (例えば POSIX.1\-2001) によると、
-\fBsync\fP()
-は書き込むことを予定に
-組み込むのみで実際に書き込みが終了する前に戻ってもよいことになっている。
-一方で Linux はバージョン 1.3.20 からは書き込みが終了するまで待つ。
-(最近のディスクは大きなキャッシュを持っているため、
- これはデータの完全性 (data integrity) までは保証していない。)
-.SH 関連項目
-\fBbdflush\fP(2), \fBfdatasync\fP(2), \fBfsync\fP(2), \fBsync\fP(1)
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
-である。プロジェクトの説明とバグ報告に関する情報は
-http://www.kernel.org/doc/man\-pages/ に書かれている。