Possible cruft cleanup: clock_gettime vs getitimer

Hal Murray hmurray at megapathdsl.net
Mon Feb 17 02:33:33 UTC 2020


devel/hacking.adoc says:
  You *may* use clock_gettime(2) and clock_settime(2) calls, and
  the related getitimer(2)/setitimer(2), from POSIX-1.2008.

My man pages say both are in POSIX.1-2001.

Is there any reason we don't pick one and discard the crufty ifdefs?

No big deal, just another minor cleanup that makes the code slightly easier to 
read and maintain.



-- 
These are my opinions.  I hate spam.





More information about the devel mailing list