Function arceos_posix_api::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
pub unsafe fn sys_nanosleep(req: *const timespec, rem: *mut timespec) -> c_int
Sleep some nanoseconds
TODO: should be woken by signals, and set errno