Mercurial > flash_v2
comparison packages/error/current/src/strerror.cxx @ 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 | 6ed91473a1cd |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 186 case EDEVNOSUPP: | 186 case EDEVNOSUPP: |
| 187 s = "Device does not support this operation"; | 187 s = "Device does not support this operation"; |
| 188 break; | 188 break; |
| 189 #endif | 189 #endif |
| 190 | 190 |
| 191 // Additional errors used by networking | |
| 192 #ifdef ENXIO | |
| 193 case ENXIO: | |
| 194 s = "Device not configured"; | |
| 195 break; | |
| 196 #endif | |
| 197 #ifdef EACCES | |
| 198 case EACCES: | |
| 199 s = "Permission denied"; | |
| 200 break; | |
| 201 #endif | |
| 202 #ifdef EEXIST | |
| 203 case EEXIST: | |
| 204 s = "File exists"; | |
| 205 break; | |
| 206 #endif | |
| 207 #ifdef ENOTTY | |
| 208 case ENOTTY: | |
| 209 s = "Inappropriate ioctl for device"; | |
| 210 break; | |
| 211 #endif | |
| 212 #ifdef EPIPE | |
| 213 case EPIPE: | |
| 214 s = "Broken pipe"; | |
| 215 break; | |
| 216 #endif | |
| 217 #ifdef EINPROGRESS | |
| 218 case EINPROGRESS: | |
| 219 s = "Operation now in progress"; | |
| 220 break; | |
| 221 #endif | |
| 222 #ifdef EALREADY | |
| 223 case EALREADY: | |
| 224 s = "Operation already in progress"; | |
| 225 break; | |
| 226 #endif | |
| 227 #ifdef ENOTSOCK | |
| 228 case ENOTSOCK: | |
| 229 s = "Socket operation on non-socket"; | |
| 230 break; | |
| 231 #endif | |
| 232 #ifdef EDESTADDRREQ | |
| 233 case EDESTADDRREQ: | |
| 234 s = "Destination address required"; | |
| 235 break; | |
| 236 #endif | |
| 237 #ifdef EMSGSIZE | |
| 238 case EMSGSIZE: | |
| 239 s = "Message too long"; | |
| 240 break; | |
| 241 #endif | |
| 242 #ifdef EPROTOTYPE | |
| 243 case EPROTOTYPE: | |
| 244 s = "Protocol wrong type for socket"; | |
| 245 break; | |
| 246 #endif | |
| 247 #ifdef ENOPROTOOPT | |
| 248 case ENOPROTOOPT: | |
| 249 s = "Protocol not available"; | |
| 250 break; | |
| 251 #endif | |
| 252 #ifdef EPROTONOSUPPORT | |
| 253 case EPROTONOSUPPORT: | |
| 254 s = "Protocol not supported"; | |
| 255 break; | |
| 256 #endif | |
| 257 #ifdef ESOCKTNOSUPPORT | |
| 258 case ESOCKTNOSUPPORT: | |
| 259 s = "Socket type not supported"; | |
| 260 break; | |
| 261 #endif | |
| 262 #ifdef EOPNOTSUPP | |
| 263 case EOPNOTSUPP: | |
| 264 s = "Operation not supported"; | |
| 265 break; | |
| 266 #endif | |
| 267 #ifdef EPFNOSUPPORT | |
| 268 case EPFNOSUPPORT: | |
| 269 s = "Protocol family not supported"; | |
| 270 break; | |
| 271 #endif | |
| 272 #ifdef EAFNOSUPPORT | |
| 273 case EAFNOSUPPORT: | |
| 274 s = "Address family not supported by protocol family"; | |
| 275 break; | |
| 276 #endif | |
| 277 #ifdef EADDRINUSE | |
| 278 case EADDRINUSE: | |
| 279 s = "Address already in use"; | |
| 280 break; | |
| 281 #endif | |
| 282 #ifdef EADDRNOTAVAIL | |
| 283 case EADDRNOTAVAIL: | |
| 284 s = "Can't assign requested address"; | |
| 285 break; | |
| 286 #endif | |
| 287 #ifdef ENETDOWN | |
| 288 case ENETDOWN: | |
| 289 s = "Network is down"; | |
| 290 break; | |
| 291 #endif | |
| 292 #ifdef ENETUNREACH | |
| 293 case ENETUNREACH: | |
| 294 s = "Network is unreachable"; | |
| 295 break; | |
| 296 #endif | |
| 297 #ifdef ENETRESET | |
| 298 case ENETRESET: | |
| 299 s = "Network dropped connection on reset"; | |
| 300 break; | |
| 301 #endif | |
| 302 #ifdef ECONNABORTED | |
| 303 case ECONNABORTED: | |
| 304 s = "Software caused connection abort"; | |
| 305 break; | |
| 306 #endif | |
| 307 #ifdef ECONNRESET | |
| 308 case ECONNRESET: | |
| 309 s = "Connection reset by peer"; | |
| 310 break; | |
| 311 #endif | |
| 312 #ifdef ENOBUFS | |
| 313 case ENOBUFS: | |
| 314 s = "No buffer space available"; | |
| 315 break; | |
| 316 #endif | |
| 317 #ifdef EISCONN | |
| 318 case EISCONN: | |
| 319 s = "Socket is already connected"; | |
| 320 break; | |
| 321 #endif | |
| 322 #ifdef ENOTCONN | |
| 323 case ENOTCONN: | |
| 324 s = "Socket is not connected"; | |
| 325 break; | |
| 326 #endif | |
| 327 #ifdef ESHUTDOWN | |
| 328 case ESHUTDOWN: | |
| 329 s = "Can't send after socket shutdown"; | |
| 330 break; | |
| 331 #endif | |
| 332 #ifdef ETOOMANYREFS | |
| 333 case ETOOMANYREFS: | |
| 334 s = "Too many references: can't splice"; | |
| 335 break; | |
| 336 #endif | |
| 337 #ifdef ETIMEDOUT | |
| 338 case ETIMEDOUT: | |
| 339 s = "Operation timed out"; | |
| 340 break; | |
| 341 #endif | |
| 342 #ifdef ECONNREFUSED | |
| 343 case ECONNREFUSED: | |
| 344 s = "Connection refused"; | |
| 345 break; | |
| 346 #endif | |
| 347 #ifdef EHOSTDOWN | |
| 348 case EHOSTDOWN: | |
| 349 s = "Host is down"; | |
| 350 break; | |
| 351 #endif | |
| 352 #ifdef EHOSTUNREACH | |
| 353 case EHOSTUNREACH: | |
| 354 s = "No route to host"; | |
| 355 break; | |
| 356 #endif | |
| 191 | 357 |
| 192 default: | 358 default: |
| 193 s = "Unknown error"; | 359 s = "Unknown error"; |
| 194 break; | 360 break; |
| 195 | 361 |
