zephyr::raw

Function sys_timepoint_cmp

source
pub unsafe extern "C" fn sys_timepoint_cmp(
    a: k_timepoint_t,
    b: k_timepoint_t,
) -> i32
Expand description

@brief Compare two timepoint values.

This function is used to compare two timepoint values.

@param a Timepoint to compare @param b Timepoint to compare against. @return zero if both timepoints are the same. Negative value if timepoint @a a is before timepoint @a b, positive otherwise.