Wheefun I/O Library
0.0.5
Useful I/O Primitives.
|
Error codes. More...
Go to the source code of this file.
Typedefs | |
typedef WFIO_C_BEGIN enum wfio_ecode_t | wfio_ecode_t |
The type of an error code provided by WFIO. | |
Enumerations | |
enum | wfio_ecode_t { WFIO_E_SUCCESS, WFIO_E_UNKNOWN, WFIO_E_NOOBJ, WFIO_E_INVAL, WFIO_E_NOMEM, WFIO_E_NOIMPL, WFIO_E_ILSEQ, WFIO_E_DOM, WFIO_E_RANGE, WFIO_E_OVERFLOW, WFIO_E_IO, WFIO_E_ACCESS, WFIO_E_PERM, WFIO_E_MFILE, WFIO_E_EXISTS, WFIO_E_NOTEXISTS, WFIO_E_ISFILE, WFIO_E_NOTFILE, WFIO_E_ISDIR, WFIO_E_NOTDIR, WFIO_E_NOENT, WFIO_E_NOTEMPTY, WFIO_E_NOSPC, WFIO_E_BADF, WFIO_E_BADCALL } |
The type of an error code provided by WFIO. More... | |
enum | { WFIO_E_COUNT_ = WFIO_E_BADCALL + 1 } |
Functions | |
WFIO_DLL wfio_ecode_t | wfio_error_from_errno (int value) |
Translate an OS-specific error code to a WFIO error. More... | |
WFIO_DLL wfio_ecode_t | wfio_error_from_doscall (int value) |
Variables | |
WFIO_DLL const char *const | WFIO_EMSG [WFIO_E_COUNT_] |
String representations of the error codes provided by WFIO. | |
Error codes.
enum wfio_ecode_t |
The type of an error code provided by WFIO.
WFIO_DLL wfio_ecode_t wfio_error_from_errno | ( | int | value | ) |
Translate an OS-specific error code to a WFIO error.