s/qmail  3.3.23
Next generation secure email transport
error_temp.c
Go to the documentation of this file.
1 #include <errno.h>
2 #include "error.h"
3 
4 #define X(n) if (e == n) return 1;
5 
6 int error_temp(int e)
7 {
11  X(error_io)
14  X(error_again)
15 #ifdef EDEADLK
16  X(EDEADLK)
17 #endif
18 #ifdef EBUSY
19  X(EBUSY)
20 #endif
21 #ifdef ENFILE
22  X(ENFILE)
23 #endif
24 #ifdef EMFILE
25  X(EMFILE)
26 #endif
27 #ifdef EFBIG
28  X(EFBIG)
29 #endif
30 #ifdef ENOSPC
31  X(ENOSPC)
32 #endif
33 #ifdef ENETDOWN
34  X(ENETDOWN)
35 #endif
36 #ifdef ENETUNREACH
37  X(ENETUNREACH)
38 #endif
39 #ifdef ENETRESET
40  X(ENETRESET)
41 #endif
42 #ifdef ECONNABORTED
43  X(ECONNABORTED)
44 #endif
45 #ifdef ECONNRESET
46  X(ECONNRESET)
47 #endif
48 #ifdef ENOBUFS
49  X(ENOBUFS)
50 #endif
51 #ifdef ETOOMANYREFS
52  X(ETOOMANYREFS)
53 #endif
54 #ifdef ECONNREFUSED
55  X(ECONNREFUSED)
56 #endif
57 #ifdef EHOSTDOWN
58  X(EHOSTDOWN)
59 #endif
60 #ifdef EHOSTUNREACH
61  X(EHOSTUNREACH)
62 #endif
63 #ifdef EPROCLIM
64  X(EPROCLIM)
65 #endif
66 #ifdef EUSERS
67  X(EUSERS)
68 #endif
69 #ifdef EDQUOT
70  X(EDQUOT)
71 #endif
72 #ifdef ESTALE
73  X(ESTALE)
74 #endif
75 #ifdef ENOLCK
76  X(ENOLCK)
77 #endif
78  return 0;
79 }
int error_temp(int e)
Definition: error_temp.c:6
int error_again
Definition: error.c:69
int error_wouldblock
Definition: error.c:62
int error_nomem
Definition: error.c:13
int error_txtbsy
Definition: error.c:27
#define X(n)
Definition: error_temp.c:4
int error_intr
Definition: error.c:6
int error_timeout
Definition: error.c:48
int error_io
Definition: error.c:34