All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet
@ 2021-02-03 18:25 Alejandro Colomar
  2021-02-06  9:56 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Colomar @ 2021-02-03 18:25 UTC (permalink / raw)
  To: mtk.manpages
  Cc: Alejandro Colomar, linux-man, libc-alpha, Willem de Bruijn,
	Florian Weimer

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(+)

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet
  2021-02-03 18:25 [PATCH] epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet Alejandro Colomar
@ 2021-02-06  9:56 ` Michael Kerrisk (man-pages)
  2021-02-06 11:43   ` [PATCH v2] " Alejandro Colomar
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-02-06  9:56 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man, libc-alpha, Willem de Bruijn, Florian Weimer

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
>


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2] epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet
  2021-02-06  9:56 ` Michael Kerrisk (man-pages)
@ 2021-02-06 11:43   ` Alejandro Colomar
  2021-02-06 20:39     ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Colomar @ 2021-02-06 11:43 UTC (permalink / raw)
  To: Michael Kerrisk
  Cc: Alejandro Colomar, Florian Weimer, libc-alpha, linux-man,
	Willem de Bruijn

I filed a bug against glibc
requesting the wrapper for the new syscall.

Glibc bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=27359>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---

Hi Michael,

Yes, filing a bug is one better :-).

Cheers,

Alex

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

diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2
index f0e432478..f941023c2 100644
--- a/man2/epoll_wait.2
+++ b/man2/epoll_wait.2
@@ -35,6 +35,9 @@ 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(),
+.\"        and if so, check the prototype.
+.\"        https://sourceware.org/bugzilla/show_bug.cgi?id=27359
 .fi
 .SH DESCRIPTION
 The
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet
  2021-02-06 11:43   ` [PATCH v2] " Alejandro Colomar
@ 2021-02-06 20:39     ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-02-06 20:39 UTC (permalink / raw)
  To: Alejandro Colomar
  Cc: mtk.manpages, Florian Weimer, libc-alpha, linux-man, Willem de Bruijn

Hi Alex,

On 2/6/21 12:43 PM, Alejandro Colomar wrote:
> I filed a bug against glibc
> requesting the wrapper for the new syscall.
> 
> Glibc bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=27359>
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
> ---
> 
> Hi Michael,
> 
> Yes, filing a bug is one better :-).

Thanks * 2. Patch applied.

Cheers,

Michael

> 
> Cheers,
> 
> Alex
> 
>  man2/epoll_wait.2 | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2
> index f0e432478..f941023c2 100644
> --- a/man2/epoll_wait.2
> +++ b/man2/epoll_wait.2
> @@ -35,6 +35,9 @@ 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(),
> +.\"        and if so, check the prototype.
> +.\"        https://sourceware.org/bugzilla/show_bug.cgi?id=27359
>  .fi
>  .SH DESCRIPTION
>  The
> 


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-06 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 18:25 [PATCH] epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet Alejandro Colomar
2021-02-06  9:56 ` Michael Kerrisk (man-pages)
2021-02-06 11:43   ` [PATCH v2] " Alejandro Colomar
2021-02-06 20:39     ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.