Hi Alex, On Mon, 2 Nov 2020 at 13:20, Alejandro Colomar <colomar.6.4.3@xxxxxxxxx> wrote: > > On 2020-11-02 08:37, Michael Kerrisk (man-pages) wrote: > > 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. > > > > I think we need this patch for all of the io* pages, right? > > Hi Michael, > > For some reason, no. AFAICS, only io_setup() really uses 'long'. But is not SYSCALL_DEFINEX() producing a prototype with return value 'long' in all the cases? (I have not checked, I just presume so.) Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/