Re: [PATCH] set_tid_address.2: SYNOPSIS: Fix set_tid_address() return type

2020-11-24 Thread Michael Kerrisk (man-pages)
Hi Alex, On 11/23/20 10:59 PM, Alejandro Colomar wrote: > The Linux kernel uses 'pid_t' instead of 'long' for the return type. > As glibc provides no wrapper, use the same types the kernel uses. > > $ sed -n 34,36p man-pages/man2/set_tid_address.2 > .PP > .IR Note : > There is no glibc wrapper

[PATCH] set_tid_address.2: SYNOPSIS: Fix set_tid_address() return type

2020-11-23 Thread Alejandro Colomar
The Linux kernel uses 'pid_t' instead of 'long' for the return type. As glibc provides no wrapper, use the same types the kernel uses. $ sed -n 34,36p man-pages/man2/set_tid_address.2 .PP .IR Note : There is no glibc wrapper for this system call; see NOTES. $ grep -rn