nix::time

Function clock_settime

source
pub fn clock_settime(clock_id: ClockId, timespec: TimeSpec) -> Result<()>
Expand description

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