summaryrefslogtreecommitdiffstats
path: root/Compat.h
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* Request the realtime and monotonic clock times once per sampleNathan Scott2021-04-051-2/+0
| | | | | | | | | | | | | | | | 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
* Support clock_gettime() on OSX El Capitan and earlierChristian Göttsche2020-12-181-0/+2
|
* IWYU updateChristian Göttsche2020-12-061-1/+1
|
* Resolve conversion from ssize_t to int for readlink return valueChristian Göttsche2020-12-051-5/+5
|
* Convert personal copyright authorship to teamChristian Göttsche2020-12-041-1/+1
|
* Add compat mode for systems without openat(2)Christian Göttsche2020-11-281-0/+28
|
* Compatibility function for faccessatBenny Baumann2020-11-241-0/+5
|
* Add compat wrapper for readlinkatBenny Baumann2020-11-091-0/+7
|
* Add compat wrapper for fstatatChristian Göttsche2020-10-291-0/+19

© 2014-2024 Faster IT GmbH | imprint | privacy policy