s/qmail  3.3.23
Next generation secure email transport
error.c
Go to the documentation of this file.
1 #include <errno.h>
2 #include "error.h"
3 
4 /* warning: as coverage improves here, should update error_{str,temp} */
5 
6 int error_intr =
7 #ifdef EINTR
8 EINTR;
9 #else
10 -1;
11 #endif
12 
14 #ifdef ENOMEM
15 ENOMEM;
16 #else
17 -2;
18 #endif
19 
21 #ifdef ENOENT
22 ENOENT;
23 #else
24 -3;
25 #endif
26 
28 #ifdef ETXTBSY
29 ETXTBSY;
30 #else
31 -4;
32 #endif
33 
34 int error_io =
35 #ifdef EIO
36 EIO;
37 #else
38 -5;
39 #endif
40 
42 #ifdef EEXIST
43 EEXIST;
44 #else
45 -6;
46 #endif
47 
49 #ifdef ETIMEDOUT
50 ETIMEDOUT;
51 #else
52 -7;
53 #endif
54 
56 #ifdef EINPROGRESS
57 EINPROGRESS;
58 #else
59 -8;
60 #endif
61 
63 #ifdef EWOULDBLOCK
64 EWOULDBLOCK;
65 #else
66 -9;
67 #endif
68 
70 #ifdef EAGAIN
71 EAGAIN;
72 #else
73 -10;
74 #endif
75 
77 #ifdef EPIPE
78 EPIPE;
79 #else
80 -11;
81 #endif
82 
84 #ifdef EPERM
85 EPERM;
86 #else
87 -12;
88 #endif
89 
91 #ifdef EACCES
92 EACCES;
93 #else
94 -13;
95 #endif
96 
98 #ifdef ENXIO
99 ENXIO;
100 #else
101 -14;
102 #endif
103 
105 #ifdef EPROTO
106 EPROTO;
107 #else
108 -15;
109 #endif
110 
112 #ifdef EISDIR
113 EISDIR;
114 #else
115 -16;
116 #endif
117 
119 #ifdef ECONNREFUSED
120 ECONNREFUSED;
121 #else
122 -17;
123 #endif
124 
int error_acces
Definition: error.c:90
int error_exist
Definition: error.c:41
int error_proto
Definition: error.c:104
int error_again
Definition: error.c:69
int error_pipe
Definition: error.c:76
int error_connrefused
Definition: error.c:118
int error_wouldblock
Definition: error.c:62
int error_nomem
Definition: error.c:13
int error_nodevice
Definition: error.c:97
int error_txtbsy
Definition: error.c:27
int error_intr
Definition: error.c:6
int error_noent
Definition: error.c:20
int error_perm
Definition: error.c:83
int error_timeout
Definition: error.c:48
int error_isdir
Definition: error.c:111
int error_io
Definition: error.c:34
int error_inprogress
Definition: error.c:55