]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/aio_fsync.3
fuse.4: ffix
[thirdparty/man-pages.git] / man3 / aio_fsync.3
index dee215dcec1d84ca8ac3ba73dd48d75b2867e6a9..537782bb3196fe394fed52b362bdf4bd2768af28 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
 .\"
-.TH AIO_FSYNC 3 2010-10-02  "" "Linux Programmer's Manual"
+.TH AIO_FSYNC 3 2017-09-15  "" "Linux Programmer's Manual"
 .SH NAME
 aio_fsync \- asynchronous file synchronization
 .SH SYNOPSIS
 .B "#include <aio.h>"
-.sp
+.PP
 .BI "int aio_fsync(int " op ", struct aiocb *" aiocbp );
-.sp
+.PP
 Link with \fI\-lrt\fP.
 .SH DESCRIPTION
 The
@@ -40,7 +41,7 @@ associated with
 for a description of the
 .I aiocb
 structure.)
-.LP
+.PP
 More precisely, if
 .I op
 is
@@ -54,9 +55,9 @@ is
 .BR O_DSYNC ,
 this call is the asynchronous analog of
 .BR fdatasync (2).
-Note that this is a request only \(em this call does not wait
-for I/O completion.
-.LP
+.PP
+Note that this is a request only; it does not wait for I/O completion.
+.PP
 Apart from
 .IR aio_fildes ,
 the only field in the structure pointed to by
@@ -68,12 +69,11 @@ field (a
 structure, described in
 .BR sigevent (7)),
 which indicates the desired type of asynchronous notification at completion.
-.\" FIXME more sigevent details are probably needed here.
 All other fields are ignored.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success (the sync request was successfully queued)
 this function returns 0.
-On error \-1 is returned, and
+On error, \-1 is returned, and
 .I errno
 is set appropriately.
 .SH ERRORS
@@ -92,18 +92,35 @@ is not
 .B O_SYNC
 or
 .BR O_DSYNC .
+.TP
+.B ENOSYS
+.BR aio_fsync ()
+is not implemented.
 .SH VERSIONS
 The
 .BR aio_fsync ()
 function is available since glibc 2.1.
-.SH "CONFORMING TO"
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface      Attribute       Value
+T{
+.BR aio_fsync ()
+T}     Thread safety   MT-Safe
+.TE
+.SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR aio_cancel (3),
 .BR aio_error (3),
 .BR aio_read (3),
 .BR aio_return (3),
 .BR aio_suspend (3),
 .BR aio_write (3),
+.BR lio_listio (3),
 .BR aio (7),
 .BR sigevent (7)