1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" The GNU General Public License's references to "object code"
9 .\" and "executables" are to be interpreted as the output of any
10 .\" document formatting or typesetting system, including
11 .\" intermediate and printed output.
13 .\" This manual is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 .\" GNU General Public License for more details.
18 .\" You should have received a copy of the GNU General Public
19 .\" License along with this manual; if not, write to the Free
20 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
23 .\" Japanese Version Copyright (c) 2004 Yuichi SATO
24 .\" all rights reserved.
25 .\" Translated Sun Jul 4 17:20:13 JST 2004
26 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
28 .TH AIO_FSYNC 3 2003-11-14 "" "Linux Programmer's Manual"
31 .\"O aio_fsync \- asynchronous file synchronization
32 aio_fsync \- 非同期ファイルを同期させる
37 .BI "int aio_fsync(int " op ", struct aiocb *" aiocbp );
39 .\"O Link with \fI\-lrt\fP.
45 .\"O function does a sync on all outstanding asynchronous I/O operations
47 .\"O .IR aiocbp\->aio_fildes .
50 .I aiocbp\->aio_fildes
51 で関連付けられているまだ完了していない全ての非同期 I/O 操作を同期させる。
53 .\"O More precisely, if
57 .\"O then all currently queued I/O operations shall be
58 .\"O completed as if by a call of
64 .\"O this call is the asynchronous analog of
65 .\"O .BR fdatasync (2).
70 の場合、現在キューに入れられている全ての I/O 操作は、
80 .\"O Note that this is a request only \(em this call does not wait
81 .\"O for I/O completion.
82 この関数はリクエストを行うだけである点に注意すること \(em
87 .\"O the only field in the structure pointed to by
89 .\"O that is used by this call is the
91 .\"O field (a \fIstruct sigevent\fP) that indicates the desired type of
92 .\"O asynchronous notification at completion.
94 で指される構造体のフィールドのうち、この呼び出しで
98 フィールド (\fIstruct sigevent\fP) のみである。
99 このフィールドは、完了時の非同期通知に使用したいタイプを示す。
100 .\"O All other fields are ignored.
102 .\"O .SH "RETURN VALUE"
104 .\"O On success (the sync request was successfully queued)
105 .\"O this function returns 0.
106 .\"O On error \-1 is returned, and
108 .\"O is set appropriately.
109 成功した場合 (同期リクエストをキューに入れるのに成功した場合)、
118 .\"O Out of resources.
123 .\"O is not a valid file descriptor open for writing.
125 が書き込みのためにオープンされた有効なファイルディスクリプタではない。
128 .\"O No synchronized I/O for this file is supported, or
134 このファイルに対する同期 I/O がサポートされていない。
142 .\"O .SH "CONFORMING TO"