Skip to content

Commit f3415c6

Browse files
Expose the "epoll_pwait2()" function
The ```epoll_pwait2()``` function has been moved to linux/gnu
1 parent 72cb7aa commit f3415c6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

libc-test/semver/linux-gnu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,3 +715,4 @@ putpwent
715715
putgrent
716716
execveat
717717
close_range
718+
epoll_pwait2

src/unix/linux_like/linux/gnu/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,6 +1549,14 @@ extern "C" {
15491549
pub fn close_range(first: ::c_uint, last: ::c_uint, flags: ::c_int) -> ::c_int;
15501550

15511551
pub fn mq_notify(mqdes: ::mqd_t, sevp: *const ::sigevent) -> ::c_int;
1552+
1553+
pub fn epoll_pwait2(
1554+
epfd: ::c_int,
1555+
events: *mut ::epoll_event,
1556+
maxevents: ::c_int,
1557+
timeout: *const ::timespec,
1558+
sigmask: *const ::sigset_t,
1559+
) -> ::c_int;
15521560
}
15531561

15541562
cfg_if! {

0 commit comments

Comments
 (0)