1 2 3 4 5
use arceos_posix_api as api; pub(crate) fn sys_clock_gettime(clock_id: i32, tp: *mut api::ctypes::timespec) -> i32 { unsafe { api::sys_clock_gettime(clock_id, tp) } }