Define ANJ_TIME_REAL_AS_STRING
Defined in File time.h
Define Documentation
-
ANJ_TIME_REAL_AS_STRING(time, unit)
Formats a real timestamp as a duration string in the given unit.
This prints the numeric offset from the Unix epoch (e.g., in seconds or milliseconds). For human-readable calendars, convert externally.
- Parameters:
time – Real timestamp.
unit – Unit to print the value in.
- Returns:
Pointer to a temporary NUL-terminated string; see ANJ_TIME_DURATION_AS_STRING for lifetime details.