Remove non-portable functions
authorColin Clark <colin.clark@cclark.uk>
Sat, 2 Oct 2021 09:52:48 +0000 (10:52 +0100)
committerColin Clark <colin.clark@cclark.uk>
Sat, 2 Oct 2021 09:52:48 +0000 (10:52 +0100)
commitd7d2db8b4cb3be207b14c562b6fc1cf4fc894063
tree19d4a67e4058e851fbfef32bfb2dfde68ed2c9b1
parentea4b4ded984fcbaec1155ad16a81b5f8131b3e7b
Remove non-portable functions

The functions /proc/cpuinfo and /proc/self/exe are not portable.
Replace them with other solutions.
src/main.c
src/misc.c