Anjay Lite
Loading...
Searching...
No Matches
time.h File Reference
#include <anj/init.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define ANJ_TIME_UNDEFINED   UINT64_MAX
 

Functions

uint64_t anj_time_now (void)
 
uint64_t anj_time_real_now (void)
 

Macro Definition Documentation

◆ ANJ_TIME_UNDEFINED

#define ANJ_TIME_UNDEFINED   UINT64_MAX

Special value that can be used to represent an undefined time.

Function Documentation

◆ 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.