riot_sys::bindgen

Function timex_to_str

Source
pub unsafe extern "C" fn timex_to_str(
    t: timex_t,
    timestamp: *mut c_char,
) -> *const c_char
Expand description

@brief Converts a timex timestamp to a string

@pre memory at timestamp >= TIMEX_MAX_STR_LEN

@param[in] t The timestamp to convert @param[out] timestamp The output char buffer for the converted timestamp

@note The timestamp will be normalized

@return A pointer to the string representation of the timestamp