[][src]Function linux::syscall::clock_getres

pub fn clock_getres(clock: clockid_t, res: &mut timespec) -> c_int

Retrieves the resolution of a clock.

[argument, clock] The id of the clock.

[argument, res] The place in which the resolution will be stored.

[return_value] Returns success or an error value.

= See also

  • link:man:clock_getres(2)