executed in parallel.
These functions are part of the library with realtime functions named
-.IR "libaio"
-. They are not actually part of the
+.IR libaio .
+They are not actually part of the
.IR "libc"
binary.
The implementation of these functions can be done using support in the
.TP
.IR "long u.c.nbytes"
This element specifies the length of the buffer pointed to by
-.IR "io_buf"
-.
+.IR io_buf .
.TP
.IR "int aio_reqprio"
Is not currently used.
.IR "u.c.nbytes"
bytes in the
buffer pointed to by
-.IR "buf"
-.
+.IR buf .
.TP
.B "IO_CMD_PWRITE"
Start a write operation. Write
bytes starting at
.IR "buf"
into the file starting at position
-.IR "u.c.offset"
-.
+.IR u.c.offset .
.TP
.B "IO_CMD_NOP"
Do nothing for this control block. This value is useful sometimes when
Calling this function forces all I/O operations operating queued at the
time of the function call operating on the file descriptor
.IR "iocb->io_fildes"
-into the synchronized I/O completion state . The
+into the synchronized I/O completion state. The
.IR "io_fsync"
function returns
immediately but the notification through the method described in
performed (and thus
.BR io_pgetevents ()
behaves the same as
-.BR io_getevents()
-) .
+.BR io_getevents() ).
.SH ERRORS
.TP
.B EINVAL
subsequent I/O on the file descriptor is not guaranteed to be
completed in a synchronized fashion.
.PP
-This function returns immediately . To schedule the operation, the
+This function returns immediately. To schedule the operation, the
function
.IR io_submit
must be called.
is a descriptor are written to the buffer
starting at
.TP
-.IR "iocb->u.c.buf = buf"
-.
+.IR "iocb->u.c.buf = buf" .
.br
Reading starts at the absolute position
.TP
.IR "ioc->u.c.offset = offset"
in the file.
.PP
-This function returns immediately . To schedule the operation, the
+This function returns immediately. To schedule the operation, the
function
.IR io_submit
must be called.
is a descriptor are written from the buffer
starting at
.TP
-.IR "iocb->u.c.buf = buf"
-.
+.IR "iocb->u.c.buf = buf" .
.br
Writing starts at the absolute position
.TP
.IR "ioc->u.c.offset = offset"
in the file.
.PP
-This function returns immediately . To schedule the operation, the
+This function returns immediately. To schedule the operation, the
function
.IR io_submit
must be called.
.sp
.SH DESCRIPTION
.B io_queue_release
-destroys the context associated with the userspace handle. May cancel any outstanding
+destroys the context associated with the userspace handle. May cancel any outstanding
AIOs and block on completion.
.B cts.
.I ctx
refers to an unitialized aio context, the iocb pointed to by
.I iocbs
-contains an improperly initialized iocb,
+contains an improperly initialized iocb.
.TP
.B ENOSYS
Not implemented.
.I ctx
refers to an unitialized aio context, the iocb pointed to by
.I iocbs
-contains an improperly initialized iocb,
+contains an improperly initialized iocb.
.TP
.B ENOSYS
Not implemented.
.IR "nr"
requests from the array pointed to
by
-.IR "iocbs"
-. The operation to be performed is determined by the
+.IR "iocbs" .
+The operation to be performed is determined by the
.IR "aio_lio_opcode"
member in each element of
-.IR "iocbs"
-. If this
+.IR "iocbs" .
+If this
field is
.B "IO_CMD_PREAD"
a read operation is enqueued, similar to a call