[go: up one dir, main page]

Crate auxv [] [src]

Structs

NativeGetauxvalProvider

Calls through to the underlying glibc getauxval(). Unfortunately, prior to glibc 2.19, getauxval() returns 0 without setting errno if the type is not found, so on such old systems this will return Ok(0) rather than Err(GetauxvalError::NotFound).

NotFoundGetauxvalProvider

A stub implementation that always returns NotFound. This can be used when you want to use something reasonable (i.e. won't crash) that's not NativeGetauxvalProvider on non-Linux systems.

Enums

GetauxvalError
ProcfsAuxvError

Constants

AT_HWCAP
AT_HWCAP2

Traits

GetauxvalProvider

Functions

search_procfs_auxv

Read from the procfs auxv file and look for the specified types.

Type Definitions

ProcfsAuxVals