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@xxxxxxxxx> --- Hi Michael, Please apply this patch after "s/io_contexxt_t/aio_context_t/". Cheers, Alex man2/io_setup.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/io_setup.2 b/man2/io_setup.2 index f9860fda5..1a89de220 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 : -- 2.28.0