|
ginnOS
The reference: libc, the libraries and the kernel
|
#include "common/stdint.h"Go to the source code of this file.
Enumerations | |
| enum | kerr_t { KERR_OK = 0 , KERR_NOMEM = -1 , KERR_IO = -2 , KERR_NOTFOUND = -3 , KERR_PERM = -4 , KERR_INVAL = -5 , KERR_BUSY = -6 , KERR_NOSPC = -7 , KERR_RANGE = -8 , KERR_EXIST = -9 , KERR_ISDIR = -10 , KERR_NOTDIR = -11 , KERR_PIPE = -12 , KERR_NOENT = -13 , KERR_FAULT = -14 , KERR_NOTEMPTY = -15 , KERR_LOOP = -16 , KERR_NOEXEC = -17 , KERR_FBIG = -18 } |
| unified kernel error codes. More... | |
Functions | |
| const char * | status_to_str (kerr_t err) |
| convert a kerr_t to a human-readable string for debug output. | |
| enum kerr_t |
unified kernel error codes.
all kernel subsystems return kerr_t from fallible operations. KERR_OK (0) indicates success, all other values indicate failure. values are negative to allow direct mapping to userspace errno at the syscall boundary.