1 /*
2 * Copyright (c) 1998, by Sun Microsystems, Inc.
3 * All rights reserved.
4 */
5
6 #include <locale.h>
7 const char *
ss_error_table(long errorno)8 ss_error_table(long errorno) {
9
10 switch (errorno) {
11 case 0:
12 return(dgettext(TEXT_DOMAIN,
13 "Subsystem aborted"));
14 case 1:
15 return(dgettext(TEXT_DOMAIN,
16 "Version mismatch"));
17 case 2:
18 return(dgettext(TEXT_DOMAIN,
19 "No current invocation"));
20 case 3:
21 return(dgettext(TEXT_DOMAIN,
22 "No info directory"));
23 case 4:
24 return(dgettext(TEXT_DOMAIN,
25 "Command not found"));
26 case 5:
27 return(dgettext(TEXT_DOMAIN,
28 "Command line aborted"));
29 case 6:
30 return(dgettext(TEXT_DOMAIN,
31 "End-of-file reached"));
32 case 7:
33 return(dgettext(TEXT_DOMAIN,
34 "Permission denied"));
35 case 8:
36 return(dgettext(TEXT_DOMAIN,
37 "Request table not found"));
38 case 9:
39 return(dgettext(TEXT_DOMAIN,
40 "No info available"));
41 case 10:
42 return(dgettext(TEXT_DOMAIN,
43 "Shell escapes are disabled"));
44 case 11:
45 return(dgettext(TEXT_DOMAIN,
46 "Sorry, this request is not yet implemented"));
47 default:
48 return("unknown error");
49 }
50 }
51