Skip to content

Commit c8ca99b

Browse files
committed
Auto merge of #2671 - devnexen:haiku_ppoll, r=Amanieu
haiku ppoll fn addition
2 parents 8b05ed7 + 8b0e198 commit c8ca99b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,6 +1510,12 @@ extern "C" {
15101510
pub fn srand(seed: ::c_uint);
15111511
pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int;
15121512
pub fn freeifaddrs(ifa: *mut ::ifaddrs);
1513+
pub fn ppoll(
1514+
fds: *mut ::pollfd,
1515+
numfds: ::nfds_t,
1516+
timeout: *const ::timespec,
1517+
sigMask: *const sigset_t,
1518+
) -> ::c_int;
15131519
}
15141520

15151521
#[link(name = "bsd")]

0 commit comments

Comments
 (0)