Mercurial > ecos
comparison packages/error/current/include/codes.h @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | bf00f99aec69 |
| children | 2085233a121a |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 124 | 124 |
| 125 #define EEOF 200 // End of file reached | 125 #define EEOF 200 // End of file reached |
| 126 #define ENOSUPP 201 // Operation not supported | 126 #define ENOSUPP 201 // Operation not supported |
| 127 #define EDEVNOSUPP 202 // Device does not support this operation | 127 #define EDEVNOSUPP 202 // Device does not support this operation |
| 128 | 128 |
| 129 #ifdef CYGPKG_NET | |
| 130 // Additional errors used by networking | |
| 131 #define ENXIO 300 // Device not configured | |
| 132 #define EACCES 301 // Permission denied | |
| 133 #define EEXIST 302 // File exists | |
| 134 #define ENOTTY 303 // Inappropriate ioctl for device | |
| 135 #define EPIPE 304 // Broken pipe | |
| 136 | |
| 137 // non-blocking and interrupt i/o | |
| 138 #define EINPROGRESS 310 // Operation now in progress | |
| 139 #define EALREADY 311 // Operation already in progress | |
| 140 | |
| 141 // ipc/network software -- argument errors | |
| 142 #define ENOTSOCK 320 // Socket operation on non-socket | |
| 143 #define EDESTADDRREQ 321 // Destination address required | |
| 144 #define EMSGSIZE 322 // Message too long | |
| 145 #define EPROTOTYPE 323 // Protocol wrong type for socket | |
| 146 #define ENOPROTOOPT 324 // Protocol not available | |
| 147 #define EPROTONOSUPPORT 325 // Protocol not supported | |
| 148 #define ESOCKTNOSUPPORT 326 // Socket type not supported | |
| 149 #define EOPNOTSUPP 327 // Operation not supported | |
| 150 #define EPFNOSUPPORT 328 // Protocol family not supported | |
| 151 #define EAFNOSUPPORT 329 // Address family not supported by protocol family | |
| 152 #define EADDRINUSE 330 // Address already in use | |
| 153 #define EADDRNOTAVAIL 331 // Can't assign requested address | |
| 154 | |
| 155 // ipc/network software -- operational errors | |
| 156 #define ENETDOWN 350 // Network is down | |
| 157 #define ENETUNREACH 351 // Network is unreachable | |
| 158 #define ENETRESET 352 // Network dropped connection on reset | |
| 159 #define ECONNABORTED 353 // Software caused connection abort | |
| 160 #define ECONNRESET 354 // Connection reset by peer | |
| 161 #define ENOBUFS 355 // No buffer space available | |
| 162 #define EISCONN 356 // Socket is already connected | |
| 163 #define ENOTCONN 357 // Socket is not connected | |
| 164 #define ESHUTDOWN 358 // Can't send after socket shutdown | |
| 165 #define ETOOMANYREFS 359 // Too many references: can't splice | |
| 166 #define ETIMEDOUT 360 // Operation timed out | |
| 167 #define ECONNREFUSED 361 // Connection refused | |
| 168 | |
| 169 #define EHOSTDOWN 364 // Host is down | |
| 170 #define EHOSTUNREACH 365 // No route to host | |
| 171 #endif // CYGPKG_NET | |
| 129 | 172 |
| 130 #endif // ifdef CYGPKG_ERROR | 173 #endif // ifdef CYGPKG_ERROR |
| 131 | 174 |
| 132 #endif // CYGONCE_ERROR_CODES_H multiple inclusion protection | 175 #endif // CYGONCE_ERROR_CODES_H multiple inclusion protection |
| 133 | 176 |
