pub fn clock_settime(id: ClockId, timespec: Timespec) -> Result<()>
Available on crate feature
time
only.Expand description
clock_settime(id, timespec)
—Sets the current value of a settable clock.
This fails with io::Errno::INVAL
if the clock is not settable, and
io::Errno::ACCESS
if the current process does not have permission to
set it.