Function nix::time::clock_settime

pub fn clock_settime(clock_id: ClockId, timespec: TimeSpec) -> Result<()>
Documentation

Set the time of the specified clock, (see clock_settime(2)).