aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inc/errno.h')
-rw-r--r--libc/inc/errno.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/inc/errno.h b/libc/inc/errno.h
index 76b4b85..e226aba 100644
--- a/libc/inc/errno.h
+++ b/libc/inc/errno.h
@@ -5,6 +5,9 @@
#include <def.h>
+typedef s32 res;
+
+#define EOK 0 /* Success */
#define EPERM 1 /* Operation not permitted */
#define ENOENT 2 /* No such file or directory */
#define ESRCH 3 /* No such process */