Function clock_nanosleep_relative
pub fn clock_nanosleep_relative(
id: ClockId,
request: &__kernel_timespec,
) -> NanosleepRelativeResult
Available on crate feature
dep_rustix
only.Expand description
clock_nanosleep(id, 0, request, remain)
—Sleeps for a duration on a
given clock.
This is clock_nanosleep
specialized for the case of a relative sleep
interval. See clock_nanosleep_absolute
for absolute intervals.