GetTickCount in Linux

Took me ages to find the EXACT equivalent but this seems to do the trick.

uint32_t GetTickCount(void)
{
tms tm;
return times(&tm)*10;
}

At least it did on my port of ddirserv from Windows to Linux.

Tags: , , ,

Leave a Reply