[−][src]Function linux::syscall::clock_nanosleep
pub fn clock_nanosleep(
clock: clockid_t,
flags: c_int,
req: ×pec,
rem: &mut timespec
) -> c_int
Sleeps for a certain amount of time.
[argument, clock] The clock used for timekeeping.
[argument, flags] Flags used for sleeping.
[argument, req] The requested amount of sleep.
[argument, rem] The place where the remaining amount of time is placed.
[return_value] Returns success or an error value.
= See also
- link:man:clock_nanosleep(2)