]> 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 66843e6823e774e4b4a80e55748d3ad104f08d0c..537782bb3196fe394fed52b362bdf4bd2768af28 100644 (file)
@@ -1,6 +1,6 @@
 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
 .\"
-.\" %%%LICENSE_START(GPLv2+_doc_full)
+.\" %%%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
 .\" <http://www.gnu.org/licenses/>.
 .\" %%%LICENSE_END
 .\"
-.TH AIO_FSYNC 3 2012-05-08  "" "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
@@ -41,7 +41,7 @@ associated with
 for a description of the
 .I aiocb
 structure.)
-.LP
+.PP
 More precisely, if
 .I op
 is
@@ -55,9 +55,9 @@ is
 .BR O_DSYNC ,
 this call is the asynchronous analog of
 .BR fdatasync (2).
-
+.PP
 Note that this is a request only; it does not wait for I/O completion.
-.LP
+.PP
 Apart from
 .IR aio_fildes ,
 the only field in the structure pointed to by
@@ -73,7 +73,7 @@ All other fields are ignored.
 .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
@@ -100,6 +100,18 @@ is not implemented.
 The
 .BR aio_fsync ()
 function is available since glibc 2.1.
+.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