Skip to main content

timevals_to_timespecs

Function timevals_to_timespecs 

Source
fn timevals_to_timespecs(
    r: &Req<'_>,
    addr: u64,
) -> Result<Option<[u8; 32]>, i32>
Expand description

Reads a struct timeval[2] from the tracee and converts it to 64-bit timespecs.

An i386 caller (Variant::Time32) supplies 32-bit seconds and microseconds.