devela::_dep::rustix::param

Function linux_hwcap

pub fn linux_hwcap() -> (usize, usize) 
Available on crate feature dep_rustix only.
Expand description

(getauxval(AT_HWCAP), getauxval(AT_HWCAP2)—Returns the Linux “hwcap” data.

Return the Linux AT_HWCAP and AT_HWCAP2 values passed to the current process. Returns 0 for each value if it is not available.

§References