Re: [PATCH] subpage_prot.2: SYNOPSIS: Fix return type: s/long/int/

2020-11-28 Thread Michael Kerrisk (man-pages)
Hi Alex, On 11/28/20 12:44 AM, Alejandro Colomar wrote: > The Linux kernel uses 'int' instead of 'long' for the return type. > As glibc provides no wrapper, use the same type the kernel uses. Thanks. Patch applied. Cheers, Michael > .. > > $ grep -n wrapper man-pages/man2/subpage_prot.2 >

[PATCH] subpage_prot.2: SYNOPSIS: Fix return type: s/long/int/

2020-11-27 Thread Alejandro Colomar
The Linux kernel uses 'int' instead of 'long' for the return type. As glibc provides no wrapper, use the same type the kernel uses. .. $ grep -n wrapper man-pages/man2/subpage_prot.2 40:There is no glibc wrapper for this system call; see NOTES. 99:Glibc does not provide a wrapper for this sys