This commit is contained in:
p-w-rs
2022-09-07 11:18:56 -05:00
commit 7bb91e666d
121 changed files with 5306 additions and 0 deletions

15
TTOS/include/errorCode.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef _ERRORCODE_H
#define _ERRORCODE_H
typedef int errorCode_t;
#define IS_ERROR(n) (n < SUCCESS)
#define SUCCESS 0
#define EBADPARM -1
#define ENOTFOUND -2
#define EBADEXEC -3
#define EMEMORY -4
#define EFILESYS -5
#endif