#[repr(C)]pub struct AuxvValues {Show 29 fields
pub argc: c_int,
pub argv_ptr_ptr: target_ulong,
pub arg_ptr: [target_ulong; 10],
pub argv: [[u8; 256]; 10],
pub envc: c_int,
pub env_ptr_ptr: target_ulong,
pub env_ptr: [target_ulong; 20],
pub envp: [[u8; 256]; 20],
pub execfn_ptr: target_ulong,
pub execfn: [u8; 256],
pub phdr: target_ulong,
pub entry: target_ulong,
pub ehdr: target_ulong,
pub hwcap: target_ulong,
pub hwcap2: target_ulong,
pub pagesz: target_ulong,
pub clktck: target_ulong,
pub phent: target_ulong,
pub phnum: target_ulong,
pub base: target_ulong,
pub flags: target_ulong,
pub uid: target_ulong,
pub euid: target_ulong,
pub gid: target_ulong,
pub egid: target_ulong,
pub secure: bool,
pub random: target_ulong,
pub platform: target_ulong,
pub program_header: target_ulong,
}
Expand description
A struct representing the contents of the Auxilary Vector, the information provided by the kernel when starting up a new process.
Resources on the auxilary vector:
Fields§
§argc: c_int
§argv_ptr_ptr: target_ulong
§arg_ptr: [target_ulong; 10]
§argv: [[u8; 256]; 10]
§envc: c_int
§env_ptr_ptr: target_ulong
§env_ptr: [target_ulong; 20]
§envp: [[u8; 256]; 20]
§execfn_ptr: target_ulong
§execfn: [u8; 256]
§phdr: target_ulong
§entry: target_ulong
§ehdr: target_ulong
§hwcap: target_ulong
§hwcap2: target_ulong
§pagesz: target_ulong
§clktck: target_ulong
§phent: target_ulong
§phnum: target_ulong
§base: target_ulong
§flags: target_ulong
§uid: target_ulong
§euid: target_ulong
§gid: target_ulong
§egid: target_ulong
§secure: bool
§random: target_ulong
§platform: target_ulong
§program_header: target_ulong
Implementations§
Trait Implementations§
Source§impl Clone for AuxvValues
impl Clone for AuxvValues
Source§fn clone(&self) -> AuxvValues
fn clone(&self) -> AuxvValues
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AuxvValues
impl RefUnwindSafe for AuxvValues
impl Send for AuxvValues
impl Sync for AuxvValues
impl Unpin for AuxvValues
impl UnwindSafe for AuxvValues
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more