Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/sys/aio_fsync.2
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" 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 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd July 15, 2016 | .Dd July 21, 2016 | ||||
.Dt AIO_FSYNC 2 | .Dt AIO_FSYNC 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm aio_fsync | .Nm aio_fsync | ||||
.Nd asynchronous file synchronization (REALTIME) | .Nd asynchronous file synchronization (REALTIME) | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
▲ Show 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
system call will fail if: | system call will fail if: | ||||
.Bl -tag -width Er | .Bl -tag -width Er | ||||
.It Bq Er EAGAIN | .It Bq Er EAGAIN | ||||
The request was not queued because of system resource limitations. | The request was not queued because of system resource limitations. | ||||
.It Bq Er EINVAL | .It Bq Er EINVAL | ||||
The asynchronous notification method in | The asynchronous notification method in | ||||
.Fa iocb->aio_sigevent.sigev_notify | .Fa iocb->aio_sigevent.sigev_notify | ||||
is invalid or not supported. | is invalid or not supported. | ||||
.It Bq Er ENOSYS | .It Bq Er EOPNOTSUPP | ||||
The | Asynchronous file synchronization operations on the file descriptor | ||||
.Fn aio_fsync | .Fa iocb->aio_fildes | ||||
system call is not supported. | are unsafe and unsafe asynchronous I/O operations are disabled. | ||||
.It Bq Er EINVAL | .It Bq Er EINVAL | ||||
A value of the | A value of the | ||||
.Fa op | .Fa op | ||||
argument is not set to | argument is not set to | ||||
.Dv O_SYNC . | .Dv O_SYNC . | ||||
.El | .El | ||||
.Pp | .Pp | ||||
The following conditions may be synchronously detected when the | The following conditions may be synchronously detected when the | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |