OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man2 / io_destroy.2
index 5be8afe..26a84f3 100644 (file)
@@ -1,18 +1,22 @@
 .\" Copyright (C) 2003 Free Software Foundation, Inc.
+.\"
+.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
 .\" This file is distributed according to the GNU General Public License.
-.\" See the file COPYING in the top level source directory for details.
+.\" %%%LICENSE_END
 .\"
-.\" ..
-.TH IO_DESTROY 2 2012-05-08 "Linux" "Linux Programmer's Manual"
+.TH IO_DESTROY 2 2012-07-13 "Linux" "Linux Programmer's Manual"
 .SH NAME
 io_destroy \- destroy an asynchronous I/O context
-.SH "SYNOPSIS"
+.SH SYNOPSIS
 .nf
 .BR "#include <linux/aio_abi.h>" "          /* Defines needed types */"
 
 .BI "int io_destroy(aio_context_t " ctx_id );
 .fi
-.SH "DESCRIPTION"
+
+.IR Note :
+There is no glibc wrapper for this system call; see NOTES.
+.SH DESCRIPTION
 .PP
 The
 .BR io_destroy ()
@@ -23,12 +27,12 @@ from the list of
 I/O contexts and then destroys it.
 It can also cancel any outstanding asynchronous I/O
 actions on \fIctx_id\fP and block on completion.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success,
 .BR io_destroy ()
 returns 0.
 For the failure return, see NOTES.
-.SH "ERRORS"
+.SH ERRORS
 .TP
 .B EFAULT
 The context pointed to is invalid.
@@ -39,10 +43,10 @@ The AIO context specified by \fIctx_id\fP is invalid.
 .B ENOSYS
 .BR io_destroy ()
 is not implemented on this architecture.
-.SH "VERSIONS"
+.SH VERSIONS
 .PP
 The asynchronous I/O system calls first appeared in Linux 2.5.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 .PP
 .BR io_destroy ()
 is Linux-specific and should not be used in programs
@@ -77,7 +81,7 @@ then the return value follows the usual conventions for
 indicating an error: \-1, with
 .I errno
 set to a (positive) value that indicates the error.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR io_cancel (2),
 .BR io_getevents (2),
 .BR io_setup (2),