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.
POLLRDHUP
1 parent 599ae1b commit b55c1d5Copy full SHA for b55c1d5
src/unix/linux_like/linux/mod.rs
@@ -3036,6 +3036,11 @@ pub const SOL_CAN_BASE: ::c_int = 100;
3036
pub const CAN_INV_FILTER: canid_t = 0x20000000;
3037
pub const CAN_RAW_FILTER_MAX: ::c_int = 512;
3038
3039
+#[cfg(not(any(target_arch = "sparc", target_arch = "sparc64")))]
3040
+pub const POLLRDHUP: ::c_int = 0x2000;
3041
+#[cfg(any(target_arch = "sparc", target_arch = "sparc64"))]
3042
+pub const POLLRDHUP: ::c_int = 0x800;
3043
+
3044
f! {
3045
pub fn NLA_ALIGN(len: ::c_int) -> ::c_int {
3046
return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1)
0 commit comments