Function minidump_writer::mach::int_sysctl_by_name
source · pub fn int_sysctl_by_name<T: TryFrom<i32> + Default>(name: &[u8]) -> T
Expand description
Retrieves an i32
sysctl by name and casts it to the specified integer type.
Returns the default value if retrieval fails or the value is out of bounds of
the specified integer type.