#include <anj/init.h>
#include <stdint.h>
Go to the source code of this file.
◆ ANJ_TIME_UNDEFINED
#define ANJ_TIME_UNDEFINED UINT64_MAX |
Special value that can be used to represent an undefined time.
◆ anj_time_now()
uint64_t anj_time_now |
( |
void |
| ) |
|
- Returns
- The number of milliseconds that have elapsed since the system was started. Should not return ANJ_TIME_UNDEFINED.
◆ anj_time_real_now()
uint64_t anj_time_real_now |
( |
void |
| ) |
|
- Returns
- The current system Unix time expressed in milliseconds. Should not return ANJ_TIME_UNDEFINED.