epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet
PATCH 1/1 epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet
---
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(+)
man2/epoll_wait.2 +1 -0
@@ -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
Signature · 1 line
2.30.0
Hi Alex,
Quoted 8 lines · Alejandro Colomar
Signed-off-by Alejandro Colomar <[email protected]>---
Hi all,
As far as I can tell, glibc doesn't yet provide the wrapper function for
epoll_pwait2(), does it?
Not yet, AFAICT.
Quoted 1 line
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
Quoted 22 lines
Cheers,
Alex
man2/epoll_wait.2 | 2 ++ 1 file changed, 2 insertions(+)man2/epoll_wait.2 +1
-1@@ -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
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/
PATCH v2 1/1 epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet
I filed a bug against glibc
requesting the wrapper for the new syscall.
Glibc bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=27359>
---
Hi Michael,
Yes, filing a bug is one better :-).
Cheers,
Alex
man2/epoll_wait.2 | 3 +++ 1 file changed, 3 insertions(+)
man2/epoll_wait.2 +3 -0
@@ -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
Signature · 1 line
2.30.0
Hi Alex,
Quoted 10 lines · Alejandro Colomar
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 <[email protected]>---
Hi Michael,
Yes, filing a bug is one better :-).
Thanks * 2. Patch applied.
Cheers,
Michael
Quoted 23 lines
Cheers,
Alex
man2/epoll_wait.2 | 3 +++ 1 file changed, 3 insertions(+)man2/epoll_wait.2 +3
-0@@ -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
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/