Skip to content

Commit 1b601ef

Browse files
The epoll_pwait2() function has been moved to linux/gnu
1 parent 6948aaa commit 1b601ef

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
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

libc-test/semver/linux.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3530,7 +3530,6 @@ epoll_create1
35303530
epoll_ctl
35313531
epoll_event
35323532
epoll_pwait
3533-
epoll_pwait2
35343533
epoll_wait
35353534
erand48
35363535
eventfd

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! {

src/unix/linux_like/linux/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5599,13 +5599,6 @@ extern "C" {
55995599
timeout: ::c_int,
56005600
sigmask: *const ::sigset_t,
56015601
) -> ::c_int;
5602-
pub fn epoll_pwait2(
5603-
epfd: ::c_int,
5604-
events: *mut ::epoll_event,
5605-
maxevents: ::c_int,
5606-
timeout: *const ::timespec,
5607-
sigmask: *const ::sigset_t,
5608-
) -> ::c_int;
56095602
pub fn dup3(oldfd: ::c_int, newfd: ::c_int, flags: ::c_int) -> ::c_int;
56105603
pub fn mkostemp(template: *mut ::c_char, flags: ::c_int) -> ::c_int;
56115604
pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int;

0 commit comments

Comments
 (0)