#[unsafe(no_mangle)]pub unsafe extern "C" fn timespec_getres(
res: *mut timespec,
base: c_int,
) -> c_intExpand description
ISO C equivalent to Sys::clock_getres.
The main differences are that this function:
- returns
0on error andbaseon success - only mandates TIME_UTC as a base