Subversion Repositories HelenOS

Rev

Rev 3285 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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