Sleeps for a certain amount of time.
fn clock_nanosleep(clock: i32, flags: i32, req: ×pec, rem: &mut timespec) -> i32
| Name | Description |
|---|---|
| clock | The clock used for timekeeping. |
| flags | Flags used for sleeping. |
| req | The requested amount of sleep. |
| rem | The place where the remaining amount of time is placed. |
Returns success or an error value.