summaryrefslogtreecommitdiffstats
path: root/Compat.h
AgeCommit message (Collapse)Author
2021-09-22Update license headers to explicitly say GPLv2+Daniel Lange
2021-04-05Request the realtime and monotonic clock times once per sampleNathan Scott
Refactor the sample time code to make one call to gettimeofday (aka the realtime clock in clock_gettime, when available) and one to the monotonic clock. Stores each in more appropriately named ProcessList fields for ready access when needed. Every platform gets the opportunity to provide their own clock code, and the existing Mac OS X specific code is moved below darwin instead of in Compat. A couple of leftover time(2) calls are converted to use these ProcessList fields as well, instead of yet again sampling the system clock. Related to https://github.com/htop-dev/htop/pull/574
2020-12-18Support clock_gettime() on OSX El Capitan and earlierChristian Göttsche
2020-12-06IWYU updateChristian Göttsche
2020-12-05Resolve conversion from ssize_t to int for readlink return valueChristian Göttsche
2020-12-04Convert personal copyright authorship to teamChristian Göttsche
2020-11-28Add compat mode for systems without openat(2)Christian Göttsche
2020-11-24Compatibility function for faccessatBenny Baumann
2020-11-09Add compat wrapper for readlinkatBenny Baumann
2020-10-29Add compat wrapper for fstatatChristian Göttsche