Rework shared headers

This commit is contained in:
2025-09-05 17:08:40 +02:00
parent 708c53c64d
commit f42c4b7e44
15 changed files with 28 additions and 20 deletions

18
share/errors.h Normal file
View File

@ -0,0 +1,18 @@
#ifndef ERRORS_H_
#define ERRORS_H_
enum {
E_OK = 0,
E_NOMEMORY = -1,
E_UNKNOWN_FSTYPE = -2,
E_NOENTRY = -3,
E_OUTOFBOUNDS = -4,
E_UNKNOWN_SDTYPE = -5,
E_TODO = -6,
E_BADIO = -7,
E_BADSYSCALL = -8,
E_DOSCHEDULING = -9,
E_INVALIDARGUMENT = -10,
};
#endif // ERRORS_H_