Logo Search packages:      
Sourcecode: egoboo version File versions  Download package

enet_uint32 enet_time_get ( void   ) 

Returns the wall-time in milliseconds. Its initial value is unspecified unless otherwise set.

Definition at line 46 of file unix.c.

Referenced by enet_host_flush(), and enet_host_service().

    struct timeval timeVal;

    gettimeofday (& timeVal, NULL);

    return timeVal.tv_sec * 1000 + timeVal.tv_usec / 1000 - timeBase;

Generated by  Doxygen 1.6.0   Back to index