Type for uptime in seconds

Hal Murray hmurray at megapathdsl.net
Wed Dec 13 00:19:00 UTC 2017


> I'd just do "typedef uint32_t uptime_t;" somewhere, myself.  There isn't a
> system type devoted to this sort of thing; closest would be clock_t.  The
> units for that are not specified, but are often microseconds. 

Thanks.  That's just what I was looking for.

I'm running with it.  Feels good.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list