Common error processing codes and routines. More...
#include <errno.h>

Defines | |
| #define | ERROR_CODE error_check_return_value |
| An actual stored error code. | |
| #define | ERROR_DECLARE int ERROR_CODE |
| An error processing routines declaration. | |
| #define | ERROR_OCCURRED(value) ((ERROR_CODE = (value)) != EOK) |
| Stores the value as an error code and checks if an error occurred. | |
| #define | ERROR_PROPAGATE(value) if(ERROR_OCCURRED(value)) return ERROR_CODE |
| Checks if an error occurred and immediately exits the actual function returning the error code. | |
Common error processing codes and routines.
1.6.1