source: mainline/uspace/app/bdsh/errors.h@ 216d6fc

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 216d6fc was 216d6fc, checked in by Tim Post <echo@…>, 17 years ago

Merge with shell @ 3241 for bdsh

  • Property mode set to 100644
File size: 400 bytes
Line 
1#ifndef ERRORS_H
2#define ERRORS_H
3
4/* Various error levels */
5#define CL_EFATAL -1
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
14#define CL_EEXISTS 8
15
16extern char *err2str(int);
17extern void cli_error(int, const char *, ...);
18extern void cli_verbose(const char *, ...);
19#endif
Note: See TracBrowser for help on using the repository browser.