Debian Codegraph @

src/include/override/sys/epoll.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include_next <sys/epoll.h> /* IWYU pragma: export */
5
6 /* epoll_pwait2() was added to glibc 2.35. Redirect to a shim that sets errno=ENOSYS at runtime when
7 * the libc symbol isn't available, so callers don't need to worry about the libc version. */
8 int epoll_pwait2_shim(int fd, struct epoll_event *events, int maxevents,
9 const struct timespec *timeout, const sigset_t *sigmask);
10 #define epoll_pwait2 epoll_pwait2_shim