Skip to content

Commit e6e4bcc

Browse files
ChrysoliteAzaleatgross35
authored andcommitted
Expose the "epoll_pwait2()" function
The ```epoll_pwait2()``` function has been moved to linux/gnu (backport <#3868>) (cherry picked from commit f3756b9)
1 parent 0b4f2de commit e6e4bcc

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

libc-test/semver/linux-gnu.txt

+1
Original file line numberDiff line numberDiff line change
@@ -711,3 +711,4 @@ putpwent
711711
putgrent
712712
execveat
713713
close_range
714+
epoll_pwait2

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

+8
Original file line numberDiff line numberDiff line change
@@ -1542,6 +1542,14 @@ extern "C" {
15421542
pub fn close_range(first: ::c_uint, last: ::c_uint, flags: ::c_int) -> ::c_int;
15431543

15441544
pub fn mq_notify(mqdes: ::mqd_t, sevp: *const ::sigevent) -> ::c_int;
1545+
1546+
pub fn epoll_pwait2(
1547+
epfd: ::c_int,
1548+
events: *mut ::epoll_event,
1549+
maxevents: ::c_int,
1550+
timeout: *const ::timespec,
1551+
sigmask: *const ::sigset_t,
1552+
) -> ::c_int;
15451553
}
15461554

15471555
cfg_if! {

0 commit comments

Comments
 (0)