arceos_posix_api

Function sys_nanosleep

Source
pub unsafe fn sys_nanosleep(req: *const timespec, rem: *mut timespec) -> c_int
Expand description

Sleep some nanoseconds

TODO: should be woken by signals, and set errno