riot_sys

Function 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