[][src]Function linux::syscall::clock_settime

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

Sets the time of a clock.

[argument, clock] The id of the clock.

[argument, res] The new time of the clock.

[return_value] Returns success or an error value.

= See also

  • link:man:clock_settime(2)