summaryrefslogtreecommitdiff
path: root/components/uptime.c
Commit message (Collapse)AuthorAgeFilesLines
* uptime: Separate function for readbilityAaron Marcher2018-04-291-2/+16
|
* Format error messages properlyAaron Marcher2018-03-281-1/+5
| | | | | Make use of strerror(errno) and format all errors equally: function ['parameters']: error message
* More robust preprocessor switchesAaron Marcher2018-03-211-4/+4
| | | | | 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-201-5/+30
| | | | In OpenBSD uptime gets fetched using sysctl now.
* Build Linux-only functions only on LinuxAaron Marcher2018-03-181-0/+2
|
* Move components into dedicated subdirectoryLaslo Hunhold2017-09-241-0/+18
This brings us a lot more tidiness.