Function clock_settime
pub fn clock_settime(
id: ClockId,
timespec: __kernel_timespec,
) -> Result<(), Errno> ⓘ
Available on crate feature
dep_rustix
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.