Move status codes into a separate header
All checks were successful
Build documentation / build-and-deploy (push) Successful in 36s

This commit is contained in:
2026-01-16 19:07:32 +01:00
parent a054257336
commit 11a1eb52aa
6 changed files with 38 additions and 38 deletions

13
include/m/status.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef _M_STATUS_H
#define _M_STATUS_H
#define ST_OK 0
#define ST_SYSCALL_NOT_FOUND 1
#define ST_UNALIGNED 2
#define ST_OOM_ERROR 3
#define ST_NOT_FOUND 4
#define ST_BAD_ADDRESS_SPACE 5
#define ST_PERMISSION_ERROR 6
#define ST_BAD_RESOURCE 7
#endif // _M_STATUS_H