aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/Versions
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-01-12 11:31:53 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-01-17 14:34:54 -0300
commit5f3a7ebc358fdcbafcab4f1bf4067120fb519dfc (patch)
tree2596ef70bf10c88ab3e82c35c878ba8ca189aa49 /sysdeps/unix/sysv/linux/Versions
parentded3aeb2025c6686956eb10125aacb9a6e7c298e (diff)
downloadglibc-5f3a7ebc358fdcbafcab4f1bf4067120fb519dfc.tar
glibc-5f3a7ebc358fdcbafcab4f1bf4067120fb519dfc.tar.gz
glibc-5f3a7ebc358fdcbafcab4f1bf4067120fb519dfc.tar.bz2
glibc-5f3a7ebc358fdcbafcab4f1bf4067120fb519dfc.zip
Linux: Add epoll_pwait2 (BZ #27359)
It is similar to epoll_wait, with the difference the timeout has nanosecond resoluting by using struct timespec instead of int. Although Linux interface only provides 64 bit time_t support, old 32 bit interface is also provided (so keep in sync with current practice and to no force opt-in on 64 bit time_t). Checked on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/Versions')
-rw-r--r--sysdeps/unix/sysv/linux/Versions6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index 3f8809a158..ded087f30e 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -293,6 +293,12 @@ libc {
%endif
close_range;
}
+ GLIBC_2.35 {
+%ifdef TIME64_NON_DEFAULT
+ __epoll_pwait2_time64;
+%endif
+ epoll_pwait2;
+ }
GLIBC_PRIVATE {
# functions used in other libraries
__syscall_rt_sigqueueinfo;