MCPcopy Create free account
hub / github.com/F-Stack/f-stack / _time32_to_time

Function _time32_to_time

tools/compat/time32.c:26–30  ·  view source on GitHub ↗

* Convert a 32 bit representation of time_t into time_t. XXX needs to * implement the 50-year rule to handle post-2038 conversions. */

Source from the content-addressed store, hash-verified

24 * implement the 50-year rule to handle post-2038 conversions.
25 */
26time_t
27_time32_to_time(__int32_t t32)
28{
29 return((time_t)t32);
30}
31
32/*
33 * Convert time_t to a 32 bit representation. If time_t is 64 bits we can

Callers 2

_long_to_timeFunction · 0.85
_int_to_timeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected