Has anybody seen a system without STA_NANO?

Hal Murray hmurray at megapathdsl.net
Wed Aug 26 01:15:15 UTC 2020


> We can cleanup some cruft if we assume it exists.

My "it" referred to STA_NANO rather than clock_gettime and struct timespec

I was just assuming that most systems would have added STA_NANO where 
appropriate after they implemented nanosecond timekeeping and struct timespec.

Of course, a system doesn't actually need nanosecond timekeeping in order to 
support clock_gettime.  A library wrapper could multiply by 1000.

-- 
These are my opinions.  I hate spam.





More information about the devel mailing list