Hi Alex, On 11/1/20 2:59 PM, Alejandro Colomar wrote: > 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> Thanks. Patch applied. Cheers, Michael > --- > > 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 : > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/