OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / io_setup.2
index 2a541bf..431f3f4 100644 (file)
@@ -4,7 +4,7 @@
 .\" This file is distributed according to the GNU General Public License.
 .\" %%%LICENSE_END
 .\"
-.TH IO_SETUP 2 2012-07-13 "Linux" "Linux Programmer's Manual"
+.TH IO_SETUP 2 2013-06-21 "Linux" "Linux Programmer's Manual"
 .SH NAME
 io_setup \- create an asynchronous I/O context
 .SH SYNOPSIS
@@ -21,8 +21,8 @@ There is no glibc wrapper for this system call; see NOTES.
 The
 .BR io_setup ()
 system call
-creates an asynchronous I/O context capable of receiving
-at least \fInr_events\fP.
+creates an asynchronous I/O context suitable for concurrently processing
+\fInr_events\fP operations.
 The
 .I ctx_idp
 argument must not point to an AIO context that already exists, and must
@@ -37,7 +37,9 @@ For the failure return, see NOTES.
 .SH ERRORS
 .TP
 .B EAGAIN
-The specified \fInr_events\fP exceeds the user's limit of available events.
+The specified \fInr_events\fP exceeds the user's limit of available events,
+as defined in
+.IR /proc/sys/fs/aio-max-nr .
 .TP
 .B EFAULT
 An invalid pointer is passed for \fIctx_idp\fP.
@@ -99,3 +101,12 @@ set to a (positive) value that indicates the error.
 .BR aio (7)
 .\" .SH AUTHOR
 .\" Kent Yoder.
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.