Function rustix::param::linux_hwcap

source ·
pub fn linux_hwcap() -> (usize, usize)
Available on crate feature param 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