Function rustix::time::clock_settime
source · pub fn clock_settime(id: ClockId, timespec: Timespec) -> Result<()>
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.