aboutsummaryrefslogtreecommitdiffstats
path: root/man2/io_destroy.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/io_destroy.2')
-rw-r--r--man2/io_destroy.221
1 files changed, 14 insertions, 7 deletions
diff --git a/man2/io_destroy.2 b/man2/io_destroy.2
index fdc1429a8f..856f55fc45 100644
--- a/man2/io_destroy.2
+++ b/man2/io_destroy.2
@@ -37,13 +37,16 @@ io_destroy \- destroy an asynchronous I/O context
.fi
.SH "DESCRIPTION"
.PP
-\fBio_destroy\fR() removes the asynchronous I/O context from the list of
+.BR io_destroy ()
+removes the asynchronous I/O context from the list of
I/O contexts and then destroys it.
-\fBio_destroy\fR() can also cancel any outstanding asynchronous I/O
+.BR io_destroy ()
+can also cancel any outstanding asynchronous I/O
actions on \fIctx\fR and block on completion.
.SH "RETURN VALUE"
.PP
-\fBio_destroy\fR() returns 0 on success;
+.BR io_destroy ()
+returns 0 on success;
on failure, it returns one of the errors listed under ERRORS.
.SH "ERRORS"
.SH "ERRORS"
@@ -55,18 +58,22 @@ The AIO context specified by \fIctx\fR is invalid.
The context pointed to is invalid.
.TP
.B ENOSYS
-\fBio_destroy\fR() is not implemented on this architecture.
+.BR io_destroy ()
+is not implemented on this architecture.
.SH "CONFORMING TO"
.PP
-\fBio_destroy\fR() is Linux specific and should not be used in programs
+.BR io_destroy ()
+is Linux specific and should not be used in programs
that are intended to be portable.
.SH "VERSIONS"
.PP
The asynchronous I/O system calls first appeared in Linux 2.5, August 2002.
.SH "SEE ALSO"
.PP
-\fBio_setup\fR(2), \fBio_submit\fR(2), \fBio_getevents\fR(2),
-\fBio_cancel\fR(2).
+.BR io_setup (2),
+.BR io_submit (2),
+.BR io_getevents (2),
+.BR io_cancel (2).
.\" .SH "NOTES"
.\"
.\" .PP