summaryrefslogtreecommitdiffstats
path: root/PC/errmap.h
blob: 59aeea12799a6747cbc0c1c25f4094ec9b7b421d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* Generated file. Do not edit. */
int winerror_to_errno(int winerror)
{
	switch(winerror) {
		case 2: return 2;
		case 3: return 2;
		case 4: return 24;
		case 5: return 13;
		case 6: return 9;
		case 7: return 12;
		case 8: return 12;
		case 9: return 12;
		case 10: return 7;
		case 11: return 8;
		case 15: return 2;
		case 16: return 13;
		case 17: return 18;
		case 18: return 2;
		case 19: return 13;
		case 20: return 13;
		case 21: return 13;
		case 22: return 13;
		case 23: return 13;
		case 24: return 13;
		case 25: return 13;
		case 26: return 13;
		case 27: return 13;
		case 28: return 13;
		case 29: return 13;
		case 30: return 13;
		case 31: return 13;
		case 32: return 13;
		case 33: return 13;
		case 34: return 13;
		case 35: return 13;
		case 36: return 13;
		case 53: return 2;
		case 65: return 13;
		case 67: return 2;
		case 80: return 17;
		case 82: return 13;
		case 83: return 13;
		case 89: return 11;
		case 108: return 13;
		case 109: return 32;
		case 112: return 28;
		case 114: return 9;
		case 128: return 10;
		case 129: return 10;
		case 130: return 9;
		case 132: return 13;
		case 145: return 41;
		case 158: return 13;
		case 161: return 2;
		case 164: return 11;
		case 167: return 13;
		case 183: return 17;
		case 188: return 8;
		case 189: return 8;
		case 190: return 8;
		case 191: return 8;
		case 192: return 8;
		case 193: return 8;
		case 194: return 8;
		case 195: return 8;
		case 196: return 8;
		case 197: return 8;
		case 198: return 8;
		case 199: return 8;
		case 200: return 8;
		case 201: return 8;
		case 202: return 8;
		case 206: return 2;
		case 215: return 11;
		case 1816: return 12;
		default: return EINVAL;
	}
}