align.rs - source
Description: Source of the Rust file `/home/tan/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/linux_like/linux/gnu/align.rs`.
Keywords: rust, rustlang, rust-lang

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13

    s! {
        // FIXME this is actually a union
        #[cfg_attr(target_pointer_width = "32",
                   repr(align(4)))]
        #[cfg_attr(target_pointer_width = "64",
                   repr(align(8)))]
        pub struct sem_t {
            #[cfg(target_pointer_width = "32")]
            __size: [::c_char; 16],
            #[cfg(target_pointer_width = "64")]
            __size: [::c_char; 32],
        }
    }