~vojtech-horky/helenos/numa

« back to all changes in this revision

Viewing changes to uspace/app/bdsh/errstr.h

  • Committer: Martin Decky
  • Date: 2009-08-04 11:19:19 UTC
  • Revision ID: martin@uranus.dsrg.hide.ms.mff.cuni.cz-20090804111919-evyclddlr3v5lhmp
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef ERRSTR_H
 
2
#define ERRSTR_H
 
3
 
 
4
/* Simple array to translate error codes to meaningful strings */
 
5
 
 
6
static char *cl_errors[] = {
 
7
        "Success",
 
8
        "Failure",
 
9
        "Busy",
 
10
        "No Such Entry",
 
11
        "Not Enough Memory",
 
12
        "Permission Denied",
 
13
        "Method Not Supported",
 
14
        "Bad command or file name",
 
15
        "Entry already exists",
 
16
        "Object too large",
 
17
        NULL
 
18
};
 
19
 
 
20
static char *err2str(int);
 
21
 
 
22
#endif
 
23