Rev 3366 |
Blame |
Compare with Previous |
Last modification |
View Log
| Download
| RSS feed
#ifndef ERRORS_H
#define ERRORS_H
/* Various error levels */
#define CL_EFATAL -1
#define CL_EOK 0
#define CL_EFAIL 1
#define CL_EBUSY 2
#define CL_ENOENT 3
#define CL_ENOMEM 4
#define CL_EPERM 5
#define CL_ENOTSUP 6
#define CL_EEXEC 7
#define CL_EEXISTS 8
#define CL_ETOOBIG 9
/* Just like 'errno' */
extern volatile int cli_errno;
extern void cli_error(int, const char *, ...);
#endif