We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5a380f + 9c7eb6c commit 7e810c7Copy full SHA for 7e810c7
libc-test/build.rs
@@ -4260,6 +4260,10 @@ fn test_linux(target: &str) {
4260
// FIXME: Requires >= 6.11 kernel headers.
4261
"MAP_DROPPABLE" => true,
4262
4263
+ // FIXME: Requires >= 6.9 kernel headers.
4264
+ "EPIOCSPARAMS"
4265
+ | "EPIOCGPARAMS" => true,
4266
+
4267
_ => false,
4268
}
4269
});
src/unix/linux_like/linux/mod.rs
@@ -1486,6 +1486,15 @@ cfg_if! {
1486
1487
1488
1489
1490
+ // #include <linux/eventpoll.h>
1491
1492
+ pub struct epoll_params {
1493
+ pub busy_poll_usecs: u32,
1494
+ pub busy_poll_budget: u16,
1495
+ pub prefer_busy_poll: u8,
1496
+ pub __pad: u8, // Must be zero
1497
+ }
1498
1499
1500
s_no_extra_traits! {
0 commit comments