code-to-errno.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #include <errno.h>
00026
00027 static const int err_code_to_errno [] = {
00028 #ifdef E2BIG
00029 E2BIG,
00030 #else
00031 0,
00032 #endif
00033 #ifdef EACCES
00034 EACCES,
00035 #else
00036 0,
00037 #endif
00038 #ifdef EADDRINUSE
00039 EADDRINUSE,
00040 #else
00041 0,
00042 #endif
00043 #ifdef EADDRNOTAVAIL
00044 EADDRNOTAVAIL,
00045 #else
00046 0,
00047 #endif
00048 #ifdef EADV
00049 EADV,
00050 #else
00051 0,
00052 #endif
00053 #ifdef EAFNOSUPPORT
00054 EAFNOSUPPORT,
00055 #else
00056 0,
00057 #endif
00058 #ifdef EAGAIN
00059 EAGAIN,
00060 #else
00061 0,
00062 #endif
00063 #ifdef EALREADY
00064 EALREADY,
00065 #else
00066 0,
00067 #endif
00068 #ifdef EAUTH
00069 EAUTH,
00070 #else
00071 0,
00072 #endif
00073 #ifdef EBACKGROUND
00074 EBACKGROUND,
00075 #else
00076 0,
00077 #endif
00078 #ifdef EBADE
00079 EBADE,
00080 #else
00081 0,
00082 #endif
00083 #ifdef EBADF
00084 EBADF,
00085 #else
00086 0,
00087 #endif
00088 #ifdef EBADFD
00089 EBADFD,
00090 #else
00091 0,
00092 #endif
00093 #ifdef EBADMSG
00094 EBADMSG,
00095 #else
00096 0,
00097 #endif
00098 #ifdef EBADR
00099 EBADR,
00100 #else
00101 0,
00102 #endif
00103 #ifdef EBADRPC
00104 EBADRPC,
00105 #else
00106 0,
00107 #endif
00108 #ifdef EBADRQC
00109 EBADRQC,
00110 #else
00111 0,
00112 #endif
00113 #ifdef EBADSLT
00114 EBADSLT,
00115 #else
00116 0,
00117 #endif
00118 #ifdef EBFONT
00119 EBFONT,
00120 #else
00121 0,
00122 #endif
00123 #ifdef EBUSY
00124 EBUSY,
00125 #else
00126 0,
00127 #endif
00128 #ifdef ECANCELED
00129 ECANCELED,
00130 #else
00131 0,
00132 #endif
00133 #ifdef ECHILD
00134 ECHILD,
00135 #else
00136 0,
00137 #endif
00138 #ifdef ECHRNG
00139 ECHRNG,
00140 #else
00141 0,
00142 #endif
00143 #ifdef ECOMM
00144 ECOMM,
00145 #else
00146 0,
00147 #endif
00148 #ifdef ECONNABORTED
00149 ECONNABORTED,
00150 #else
00151 0,
00152 #endif
00153 #ifdef ECONNREFUSED
00154 ECONNREFUSED,
00155 #else
00156 0,
00157 #endif
00158 #ifdef ECONNRESET
00159 ECONNRESET,
00160 #else
00161 0,
00162 #endif
00163 #ifdef ED
00164 ED,
00165 #else
00166 0,
00167 #endif
00168 #ifdef EDEADLK
00169 EDEADLK,
00170 #else
00171 0,
00172 #endif
00173 #ifdef EDEADLOCK
00174 EDEADLOCK,
00175 #else
00176 0,
00177 #endif
00178 #ifdef EDESTADDRREQ
00179 EDESTADDRREQ,
00180 #else
00181 0,
00182 #endif
00183 #ifdef EDIED
00184 EDIED,
00185 #else
00186 0,
00187 #endif
00188 #ifdef EDOM
00189 EDOM,
00190 #else
00191 0,
00192 #endif
00193 #ifdef EDOTDOT
00194 EDOTDOT,
00195 #else
00196 0,
00197 #endif
00198 #ifdef EDQUOT
00199 EDQUOT,
00200 #else
00201 0,
00202 #endif
00203 #ifdef EEXIST
00204 EEXIST,
00205 #else
00206 0,
00207 #endif
00208 #ifdef EFAULT
00209 EFAULT,
00210 #else
00211 0,
00212 #endif
00213 #ifdef EFBIG
00214 EFBIG,
00215 #else
00216 0,
00217 #endif
00218 #ifdef EFTYPE
00219 EFTYPE,
00220 #else
00221 0,
00222 #endif
00223 #ifdef EGRATUITOUS
00224 EGRATUITOUS,
00225 #else
00226 0,
00227 #endif
00228 #ifdef EGREGIOUS
00229 EGREGIOUS,
00230 #else
00231 0,
00232 #endif
00233 #ifdef EHOSTDOWN
00234 EHOSTDOWN,
00235 #else
00236 0,
00237 #endif
00238 #ifdef EHOSTUNREACH
00239 EHOSTUNREACH,
00240 #else
00241 0,
00242 #endif
00243 #ifdef EIDRM
00244 EIDRM,
00245 #else
00246 0,
00247 #endif
00248 #ifdef EIEIO
00249 EIEIO,
00250 #else
00251 0,
00252 #endif
00253 #ifdef EILSEQ
00254 EILSEQ,
00255 #else
00256 0,
00257 #endif
00258 #ifdef EINPROGRESS
00259 EINPROGRESS,
00260 #else
00261 0,
00262 #endif
00263 #ifdef EINTR
00264 EINTR,
00265 #else
00266 0,
00267 #endif
00268 #ifdef EINVAL
00269 EINVAL,
00270 #else
00271 0,
00272 #endif
00273 #ifdef EIO
00274 EIO,
00275 #else
00276 0,
00277 #endif
00278 #ifdef EISCONN
00279 EISCONN,
00280 #else
00281 0,
00282 #endif
00283 #ifdef EISDIR
00284 EISDIR,
00285 #else
00286 0,
00287 #endif
00288 #ifdef EISNAM
00289 EISNAM,
00290 #else
00291 0,
00292 #endif
00293 #ifdef EL2HLT
00294 EL2HLT,
00295 #else
00296 0,
00297 #endif
00298 #ifdef EL2NSYNC
00299 EL2NSYNC,
00300 #else
00301 0,
00302 #endif
00303 #ifdef EL3HLT
00304 EL3HLT,
00305 #else
00306 0,
00307 #endif
00308 #ifdef EL3RST
00309 EL3RST,
00310 #else
00311 0,
00312 #endif
00313 #ifdef ELIBACC
00314 ELIBACC,
00315 #else
00316 0,
00317 #endif
00318 #ifdef ELIBBAD
00319 ELIBBAD,
00320 #else
00321 0,
00322 #endif
00323 #ifdef ELIBEXEC
00324 ELIBEXEC,
00325 #else
00326 0,
00327 #endif
00328 #ifdef ELIBMAX
00329 ELIBMAX,
00330 #else
00331 0,
00332 #endif
00333 #ifdef ELIBSCN
00334 ELIBSCN,
00335 #else
00336 0,
00337 #endif
00338 #ifdef ELNRNG
00339 ELNRNG,
00340 #else
00341 0,
00342 #endif
00343 #ifdef ELOOP
00344 ELOOP,
00345 #else
00346 0,
00347 #endif
00348 #ifdef EMEDIUMTYPE
00349 EMEDIUMTYPE,
00350 #else
00351 0,
00352 #endif
00353 #ifdef EMFILE
00354 EMFILE,
00355 #else
00356 0,
00357 #endif
00358 #ifdef EMLINK
00359 EMLINK,
00360 #else
00361 0,
00362 #endif
00363 #ifdef EMSGSIZE
00364 EMSGSIZE,
00365 #else
00366 0,
00367 #endif
00368 #ifdef EMULTIHOP
00369 EMULTIHOP,
00370 #else
00371 0,
00372 #endif
00373 #ifdef ENAMETOOLONG
00374 ENAMETOOLONG,
00375 #else
00376 0,
00377 #endif
00378 #ifdef ENAVAIL
00379 ENAVAIL,
00380 #else
00381 0,
00382 #endif
00383 #ifdef ENEEDAUTH
00384 ENEEDAUTH,
00385 #else
00386 0,
00387 #endif
00388 #ifdef ENETDOWN
00389 ENETDOWN,
00390 #else
00391 0,
00392 #endif
00393 #ifdef ENETRESET
00394 ENETRESET,
00395 #else
00396 0,
00397 #endif
00398 #ifdef ENETUNREACH
00399 ENETUNREACH,
00400 #else
00401 0,
00402 #endif
00403 #ifdef ENFILE
00404 ENFILE,
00405 #else
00406 0,
00407 #endif
00408 #ifdef ENOANO
00409 ENOANO,
00410 #else
00411 0,
00412 #endif
00413 #ifdef ENOBUFS
00414 ENOBUFS,
00415 #else
00416 0,
00417 #endif
00418 #ifdef ENOCSI
00419 ENOCSI,
00420 #else
00421 0,
00422 #endif
00423 #ifdef ENODATA
00424 ENODATA,
00425 #else
00426 0,
00427 #endif
00428 #ifdef ENODEV
00429 ENODEV,
00430 #else
00431 0,
00432 #endif
00433 #ifdef ENOENT
00434 ENOENT,
00435 #else
00436 0,
00437 #endif
00438 #ifdef ENOEXEC
00439 ENOEXEC,
00440 #else
00441 0,
00442 #endif
00443 #ifdef ENOLCK
00444 ENOLCK,
00445 #else
00446 0,
00447 #endif
00448 #ifdef ENOLINK
00449 ENOLINK,
00450 #else
00451 0,
00452 #endif
00453 #ifdef ENOMEDIUM
00454 ENOMEDIUM,
00455 #else
00456 0,
00457 #endif
00458 #ifdef ENOMEM
00459 ENOMEM,
00460 #else
00461 0,
00462 #endif
00463 #ifdef ENOMSG
00464 ENOMSG,
00465 #else
00466 0,
00467 #endif
00468 #ifdef ENONET
00469 ENONET,
00470 #else
00471 0,
00472 #endif
00473 #ifdef ENOPKG
00474 ENOPKG,
00475 #else
00476 0,
00477 #endif
00478 #ifdef ENOPROTOOPT
00479 ENOPROTOOPT,
00480 #else
00481 0,
00482 #endif
00483 #ifdef ENOSPC
00484 ENOSPC,
00485 #else
00486 0,
00487 #endif
00488 #ifdef ENOSR
00489 ENOSR,
00490 #else
00491 0,
00492 #endif
00493 #ifdef ENOSTR
00494 ENOSTR,
00495 #else
00496 0,
00497 #endif
00498 #ifdef ENOSYS
00499 ENOSYS,
00500 #else
00501 0,
00502 #endif
00503 #ifdef ENOTBLK
00504 ENOTBLK,
00505 #else
00506 0,
00507 #endif
00508 #ifdef ENOTCONN
00509 ENOTCONN,
00510 #else
00511 0,
00512 #endif
00513 #ifdef ENOTDIR
00514 ENOTDIR,
00515 #else
00516 0,
00517 #endif
00518 #ifdef ENOTEMPTY
00519 ENOTEMPTY,
00520 #else
00521 0,
00522 #endif
00523 #ifdef ENOTNAM
00524 ENOTNAM,
00525 #else
00526 0,
00527 #endif
00528 #ifdef ENOTSOCK
00529 ENOTSOCK,
00530 #else
00531 0,
00532 #endif
00533 #ifdef ENOTSUP
00534 ENOTSUP,
00535 #else
00536 0,
00537 #endif
00538 #ifdef ENOTTY
00539 ENOTTY,
00540 #else
00541 0,
00542 #endif
00543 #ifdef ENOTUNIQ
00544 ENOTUNIQ,
00545 #else
00546 0,
00547 #endif
00548 #ifdef ENXIO
00549 ENXIO,
00550 #else
00551 0,
00552 #endif
00553 #ifdef EOPNOTSUPP
00554 EOPNOTSUPP,
00555 #else
00556 0,
00557 #endif
00558 #ifdef EOVERFLOW
00559 EOVERFLOW,
00560 #else
00561 0,
00562 #endif
00563 #ifdef EPERM
00564 EPERM,
00565 #else
00566 0,
00567 #endif
00568 #ifdef EPFNOSUPPORT
00569 EPFNOSUPPORT,
00570 #else
00571 0,
00572 #endif
00573 #ifdef EPIPE
00574 EPIPE,
00575 #else
00576 0,
00577 #endif
00578 #ifdef EPROCLIM
00579 EPROCLIM,
00580 #else
00581 0,
00582 #endif
00583 #ifdef EPROCUNAVAIL
00584 EPROCUNAVAIL,
00585 #else
00586 0,
00587 #endif
00588 #ifdef EPROGMISMATCH
00589 EPROGMISMATCH,
00590 #else
00591 0,
00592 #endif
00593 #ifdef EPROGUNAVAIL
00594 EPROGUNAVAIL,
00595 #else
00596 0,
00597 #endif
00598 #ifdef EPROTO
00599 EPROTO,
00600 #else
00601 0,
00602 #endif
00603 #ifdef EPROTONOSUPPORT
00604 EPROTONOSUPPORT,
00605 #else
00606 0,
00607 #endif
00608 #ifdef EPROTOTYPE
00609 EPROTOTYPE,
00610 #else
00611 0,
00612 #endif
00613 #ifdef ERANGE
00614 ERANGE,
00615 #else
00616 0,
00617 #endif
00618 #ifdef EREMCHG
00619 EREMCHG,
00620 #else
00621 0,
00622 #endif
00623 #ifdef EREMOTE
00624 EREMOTE,
00625 #else
00626 0,
00627 #endif
00628 #ifdef EREMOTEIO
00629 EREMOTEIO,
00630 #else
00631 0,
00632 #endif
00633 #ifdef ERESTART
00634 ERESTART,
00635 #else
00636 0,
00637 #endif
00638 #ifdef EROFS
00639 EROFS,
00640 #else
00641 0,
00642 #endif
00643 #ifdef ERPCMISMATCH
00644 ERPCMISMATCH,
00645 #else
00646 0,
00647 #endif
00648 #ifdef ESHUTDOWN
00649 ESHUTDOWN,
00650 #else
00651 0,
00652 #endif
00653 #ifdef ESOCKTNOSUPPORT
00654 ESOCKTNOSUPPORT,
00655 #else
00656 0,
00657 #endif
00658 #ifdef ESPIPE
00659 ESPIPE,
00660 #else
00661 0,
00662 #endif
00663 #ifdef ESRCH
00664 ESRCH,
00665 #else
00666 0,
00667 #endif
00668 #ifdef ESRMNT
00669 ESRMNT,
00670 #else
00671 0,
00672 #endif
00673 #ifdef ESTALE
00674 ESTALE,
00675 #else
00676 0,
00677 #endif
00678 #ifdef ESTRPIPE
00679 ESTRPIPE,
00680 #else
00681 0,
00682 #endif
00683 #ifdef ETIME
00684 ETIME,
00685 #else
00686 0,
00687 #endif
00688 #ifdef ETIMEDOUT
00689 ETIMEDOUT,
00690 #else
00691 0,
00692 #endif
00693 #ifdef ETOOMANYREFS
00694 ETOOMANYREFS,
00695 #else
00696 0,
00697 #endif
00698 #ifdef ETXTBSY
00699 ETXTBSY,
00700 #else
00701 0,
00702 #endif
00703 #ifdef EUCLEAN
00704 EUCLEAN,
00705 #else
00706 0,
00707 #endif
00708 #ifdef EUNATCH
00709 EUNATCH,
00710 #else
00711 0,
00712 #endif
00713 #ifdef EUSERS
00714 EUSERS,
00715 #else
00716 0,
00717 #endif
00718 #ifdef EWOULDBLOCK
00719 EWOULDBLOCK,
00720 #else
00721 0,
00722 #endif
00723 #ifdef EXDEV
00724 EXDEV,
00725 #else
00726 0,
00727 #endif
00728 #ifdef EXFULL
00729 EXFULL,
00730 #else
00731 0,
00732 #endif
00733 };
This file is part of the documentation for libkdenetwork Library Version 3.3.0.