diff options
author | Marvin Borner | 2021-03-21 12:40:41 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-21 12:46:08 +0100 |
commit | 09c3bdb186868204cb03d457244e05e12eb685d6 (patch) | |
tree | 7bf59794173d700df08ad303acd6c5a49193a9eb /libc/inc/errno.h | |
parent | 68a0ad7f21ba07b93cd63613996e27afd8780f9c (diff) |
Hardened syscalls
Diffstat (limited to 'libc/inc/errno.h')
-rw-r--r-- | libc/inc/errno.h | 3 |
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 */ |