epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet

Message ID 20210203182528.150479-1-alx.manpages@gmail.com
State Not applicable
Headers
Series epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet |

Commit Message

Alejandro Colomar Feb. 3, 2021, 6:25 p.m. UTC
  Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---

Hi all,

As far as I can tell, glibc doesn't yet provide the wrapper function for
epoll_pwait2(), does it?
So let's add a reminder to check if glibc provides the wrapper in the future.

Cheers,

Alex

 man2/epoll_wait.2 | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

develop--- via Libc-alpha Feb. 6, 2021, 9:56 a.m. UTC | #1
Hi Alex,

On Wed, 3 Feb 2021 at 19:28, Alejandro Colomar <alx.manpages@gmail.com> wrote:
>
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
> ---
>
> 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
>
  

Patch

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