56 #if defined(__APPLE_CC__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
58 #define EBADMSG EFAULT
61 #define EPROTO EPROTOTYPE
64 #define EBADMSG EFAULT
79 #undef EPROTONOSUPPORT
80 #undef ESOCKTNOSUPPORT
111 #define EWOULDBLOCK (10035)
115 #define EINPROGRESS (10036)
119 #define EALREADY (10037)
123 #define ENOTSOCK (10038)
127 #define EDESTADDRREQ (10039)
131 #define EMSGSIZE (10040)
135 #define EPROTOTYPE (10041)
139 #define ENOPROTOOPT (10042)
142 #ifndef EPROTONOSUPPORT
143 #define EPROTONOSUPPORT (10043)
146 #ifndef ESOCKTNOSUPPORT
147 #define ESOCKTNOSUPPORT (10044)
151 #define EOPNOTSUPP (10045)
155 #define EPFNOSUPPORT (10046)
159 #define EAFNOSUPPORT (10047)
163 #define EADDRINUSE (10048)
166 #ifndef EADDRNOTAVAIL
167 #define EADDRNOTAVAIL (10049)
171 #define ENETDOWN (10050)
175 #define ENETUNREACH (10051)
179 #define ENETRESET (10052)
183 #define ECONNABORTED (10053)
187 #define ECONNRESET (10054)
191 #define ENOBUFS (10055)
195 #define EISCONN (10056)
199 #define ENOTCONN (10057)
203 #define ESHUTDOWN (10058)
207 #define ETOOMANYREFS (10059)
211 #define ETIMEDOUT (10060)
215 #define ECONNREFUSED (10061)
219 #define ELOOP (10062)
223 #define ENAMETOOLONG (10063)
227 #define EHOSTDOWN (10064)
231 #define EHOSTUNREACH (10065)
235 #define ENOTEMPTY (10066)
239 #define EPROCLIM (10067)
243 #define EUSERS (10068)
247 #define EDQUOT (10069)
251 #define ESTALE (10070)
255 #define EREMOTE (10071)
259 # if defined(WSABADMSG)
260 # define EBADMSG (WSAEBADMSG)
262 # define EBADMSG (20005)
267 # if defined(WSAEPROTO)
268 # define EPROTO WSAEPROTO
270 # define EPROTO (20006)
#define SOFIAPUBFUN
SOFIAPUBFUN declares an exported function.
Definition: su_config.h:66
char const * su_strerror(int e)
Return string describing su error code.
Definition: su_errno.c:155
int su_seterrno(int)
Set the su error.
Definition: su_errno.c:161
int su_errno(void)
The latest su error.
Definition: su_errno.c:160