pub unsafe extern "C" fn sys_clock_gettime(
clock_id: i32,
tp: *mut timespec,
) -> i32
Expand description
@brief Get the current time from the specified clock
@param clock_id The clock from which to query time. @param tp Pointer to memory where time will be written. @retval 0 on success. @retval -EINVAL when an invalid @a clock_id is specified.