Subversion Repositories HelenOS

Rev

Rev 3346 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3265 post 1
#ifndef ERRORS_H
2
#define ERRORS_H
3
 
4
/* Various error levels */
3366 post 5
#define CL_EFATAL  -1
3265 post 6
#define CL_EOK     0
7
#define CL_EFAIL   1
8
#define CL_EBUSY   2
9
#define CL_ENOENT  3
10
#define CL_ENOMEM  4
11
#define CL_EPERM   5
12
#define CL_ENOTSUP 6
13
#define CL_EEXEC   7
3285 post 14
#define CL_EEXISTS 8
3366 post 15
#define CL_ETOOBIG 9
3265 post 16
 
3366 post 17
/* Just like 'errno' */
18
extern volatile int cli_errno;
19
 
3265 post 20
extern void cli_error(int, const char *, ...);
3366 post 21
 
3265 post 22
#endif