summaryrefslogtreecommitdiff
path: root/components/uptime.c
Commit message (Collapse)AuthorAge
* uptime: Separate function for readbilityAaron Marcher2018-04-29
|
* Format error messages properlyAaron Marcher2018-03-28
| | | | | Make use of strerror(errno) and format all errors equally: function ['parameters']: error message
* More robust preprocessor switchesAaron Marcher2018-03-21
| | | | | Replace #ifdef with #if defined() and #elif with #elif defined() as it should only test if it is defined or not.
* uptime: Port to OpenBSD.Aaron Marcher2018-03-20
| | | | In OpenBSD uptime gets fetched using sysctl now.
* Build Linux-only functions only on LinuxAaron Marcher2018-03-18
|
* Move components into dedicated subdirectoryLaslo Hunhold2017-09-24
This brings us a lot more tidiness.