[−][src]Function libcoap_sys::coap_ticks_to_rt
pub unsafe extern "C" fn coap_ticks_to_rt(t: coap_tick_t) -> coap_time_t
Helper function that converts coap ticks to wallclock time. On POSIX, this function returns the number of seconds since the epoch. On other systems, it may be the calculated number of seconds since last reboot or so.
@param t Internal system ticks.
@return The number of seconds that has passed since a specific reference point (seconds since epoch on POSIX).