Implement errno in LibC.

This also meant I had to implement BSS (SHT_NOBITS) sections in ELFLoader.
I also added an strerror() so we can print out what the errors are.
This commit is contained in:
Andreas Kling 2018-10-25 12:06:00 +02:00
commit 260b14e505
Notes: sideshowbarker 2024-07-19 18:38:59 +09:00
14 changed files with 209 additions and 27 deletions

View file

@ -5,6 +5,7 @@
extern "C" {
size_t strlen(const char*);
const char* strerror(int errnum);
}