diff options
Diffstat (limited to 'man2/io_setup.2')
| -rw-r--r-- | man2/io_setup.2 | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/man2/io_setup.2 b/man2/io_setup.2 index 4c128183d4..645a7ac105 100644 --- a/man2/io_setup.2 +++ b/man2/io_setup.2 @@ -37,7 +37,8 @@ io_setup \- create an asynchronous I/O context .fi .SH "DESCRIPTION" .PP -\fBio_setup\fR() creates an asynchronous I/O context capable of receiving +.BR io_setup () +creates an asynchronous I/O context capable of receiving at least \fInr_events\fR. \fIctxp\fR must not point to an AIO context that already exists, and must be initialized to 0 prior to the call. @@ -45,7 +46,8 @@ On successful creation of the AIO context, \fI*ctxp\fR is filled in with the resulting handle. .SH "RETURN VALUE" .PP -\fBio_setup\fR() returns 0 on success; +.BR io_setup () +returns 0 on success; on failure, it returns one of the errors listed under ERRORS. .SH "ERRORS" .TP @@ -63,18 +65,22 @@ Insufficient kernel resources are available. The specified \fInr_events\fR exceeds the user's limit of available events. .TP .B ENOSYS -\fBio_setup\fR() is not implemented on this architecture. +.BR io_setup () +is not implemented on this architecture. .SH "CONFORMING TO" .PP -\fBio_setup\fR() is Linux specific and should not be used in programs +.BR io_setup () +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_destroy\fR(2), \fBio_getevents\fR(2), \fBio_submit\fR(2), -\fBio_cancel\fR(2). +.BR io_destroy (2), +.BR io_getevents (2), +.BR io_submit (2), +.BR io_cancel (2). .\" .SH "NOTES" .\" .PP .\" The asynchronous I/O system calls were written by Benjamin LaHaise. |
