Trait auxv::getauxval::Getauxval
[−]
[src]
pub trait Getauxval { fn getauxval(&self, key: AuxvType) -> Result<AuxvType, GetauxvalError>; }
On Linux, you will probably want NativeGetauxval
. If you're not
on Linux but want to use the same getauxv
-based logic, you could
conditionally use NotAvailableGetauxval
instead.
Required Methods
fn getauxval(&self, key: AuxvType) -> Result<AuxvType, GetauxvalError>
Look up an entry in the auxiliary vector. See getauxval(3) in glibc.
Implementors
impl Getauxval for NotAvailableGetauxval