Re: [PATCH] epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex,

On Wed, 3 Feb 2021 at 19:28, Alejandro Colomar <alx.manpages@xxxxxxxxx> wrote:
>
> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
> ---
>
> Hi all,
>
> As far as I can tell, glibc doesn't yet provide the wrapper function for
> epoll_pwait2(), does it?

Not yet, AFAICT.

> So let's add a reminder to check if glibc provides the wrapper in the future.

Perhaps we could do one better. Raise a glibc bug requesting support,
and add the URL of that bug in the FIXME :-).

Cheers,

Michael

> Cheers,
>
> Alex
>
>  man2/epoll_wait.2 | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2
> index f0e432478..e338f8830 100644
> --- a/man2/epoll_wait.2
> +++ b/man2/epoll_wait.2
> @@ -35,6 +35,8 @@ epoll_wait, epoll_pwait, epoll_pwait2 \- wait for an I/O event on an epoll file
>  .BI "int epoll_pwait2(int " epfd ", struct epoll_event *" events ,
>  .BI "               int " maxevents ", const struct timespec *" timeout ,
>  .BI "               const sigset_t *" sigmask );
> +.\" FIXME: Check if glibc has added a wrapper for epoll_pwait2().
>  .fi
>  .SH DESCRIPTION
>  The
> --
> 2.30.0
>


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux