Function riot_sys::timex_cmp

source ·
pub unsafe extern "C" fn timex_cmp(a: timex_t, b: timex_t) -> c_int
Expand description

@brief Compares two timex timestamps

@param[in] a The first timestamp to compare to @param[in] b The second timestamp to compare with

@return -1 when a is smaller @return 0 if equal @return 1 if a is bigger