Defined in carb/time/Util.h

inline struct tm *carb::time::gmtime_r(const time_t *timep, struct tm *result) noexcept

Platform independent version of gmtime_r: convert a time_t to UTC component representation.

  • timep – A pointer to a time_t.

  • result – A pointer to a struct tm that will receive the result.


result if conversion succeeded; nullptr if the year does not fit into an integer or an error occurs.