mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
user thread/process and elf loader stub
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include <string.h>
|
||||
|
||||
static char* strs[] = {
|
||||
"No error",
|
||||
"Not a directory",
|
||||
"No such device",
|
||||
"Out of memory",
|
||||
"Invalid",
|
||||
"Function unimplemented",
|
||||
"File already exists",
|
||||
"No such file or directory"
|
||||
};
|
||||
|
||||
char* strerror(int errnum){
|
||||
return strs[errnum];
|
||||
}
|
||||
Reference in New Issue
Block a user