diff options
Diffstat (limited to 'man2/io_setup.2')
-rw-r--r-- | man2/io_setup.2 | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/man2/io_setup.2 b/man2/io_setup.2 index 8caa8a745..e180d5e8d 100644 --- a/man2/io_setup.2 +++ b/man2/io_setup.2 @@ -4,19 +4,28 @@ .\" This file is distributed according to the GNU General Public License. .\" %%%LICENSE_END .\" -.TH IO_SETUP 2 2020-06-09 "Linux" "Linux Programmer's Manual" +.TH IO_SETUP 2 2020-12-21 "Linux" "Linux Programmer's Manual" .SH NAME io_setup \- create an asynchronous I/O context .SH SYNOPSIS .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" .PP -.BI "int io_setup(unsigned " nr_events ", io_context_t *" ctx_idp ); +.BI "long io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp ); .fi .PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION +.IR Note : +this page describes the raw Linux system call interface. +The wrapper function provided by +.I libaio +uses a different type for the +.I ctx_idp +argument. +See NOTES. +.PP The .BR io_setup () system call @@ -101,7 +110,7 @@ set to a (positive) value that indicates the error. .\" .SH AUTHOR .\" Kent Yoder. .SH COLOPHON -This page is part of release 5.09 of the Linux +This page is part of release 5.10 of the Linux .I man-pages project. A description of the project, |