aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-11-01 14:59:58 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-11-13 10:23:53 +0100
commit33694c779a5353d98052830a3857f85504e90b98 (patch)
treea1ecbde5fa36b41cfc21f73f50a817e30c8bb579
parent4672536d8992ff9be0db18152217fe52507cbf5a (diff)
downloadman-pages-33694c779a5353d98052830a3857f85504e90b98.tar.gz
io_setup.2: SYNOPSIS: return long
The Linux kernel uses a long as the return type for this syscall. As glibc provides no wrapper, use the same types the kernel uses. Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/io_setup.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/io_setup.2 b/man2/io_setup.2
index 88bdacb36a..21bbd1104a 100644
--- a/man2/io_setup.2
+++ b/man2/io_setup.2
@@ -11,7 +11,7 @@ io_setup \- create an asynchronous I/O context
.nf
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
.PP
-.BI "int io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp );
+.BI "long io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp );
.fi
.PP
.IR Note :