Lines Matching refs:add_errcode

93 #define add_errcode(name, code, comment)                               \
110 add_errcode("ENODEV", ENODEV, "No such device");
113 add_errcode("ENOCSI", ENOCSI, "No CSI structure available");
116 add_errcode("EHOSTUNREACH", EHOSTUNREACH, "No route to host");
119 add_errcode("EHOSTUNREACH", WSAEHOSTUNREACH, "No route to host");
123 add_errcode("ENOMSG", ENOMSG, "No message of desired type");
126 add_errcode("EUCLEAN", EUCLEAN, "Structure needs cleaning");
129 add_errcode("EL2NSYNC", EL2NSYNC, "Level 2 not synchronized");
132 add_errcode("EL2HLT", EL2HLT, "Level 2 halted");
135 add_errcode("ENODATA", ENODATA, "No data available");
138 add_errcode("ENOTBLK", ENOTBLK, "Block device required");
141 add_errcode("ENOSYS", ENOSYS, "Function not implemented");
144 add_errcode("EPIPE", EPIPE, "Broken pipe");
147 add_errcode("EINVAL", EINVAL, "Invalid argument");
150 add_errcode("EINVAL", WSAEINVAL, "Invalid argument");
154 add_errcode("EOVERFLOW", EOVERFLOW, "Value too large for defined data type");
157 add_errcode("EADV", EADV, "Advertise error");
160 add_errcode("EINTR", EINTR, "Interrupted system call");
163 add_errcode("EINTR", WSAEINTR, "Interrupted system call");
167 add_errcode("EUSERS", EUSERS, "Too many users");
170 add_errcode("EUSERS", WSAEUSERS, "Too many users");
174 add_errcode("ENOTEMPTY", ENOTEMPTY, "Directory not empty");
177 add_errcode("ENOTEMPTY", WSAENOTEMPTY, "Directory not empty");
181 add_errcode("ENOBUFS", ENOBUFS, "No buffer space available");
184 add_errcode("ENOBUFS", WSAENOBUFS, "No buffer space available");
188 add_errcode("EPROTO", EPROTO, "Protocol error");
191 add_errcode("EREMOTE", EREMOTE, "Object is remote");
194 add_errcode("EREMOTE", WSAEREMOTE, "Object is remote");
198 add_errcode("ENAVAIL", ENAVAIL, "No XENIX semaphores available");
201 add_errcode("ECHILD", ECHILD, "No child processes");
204 add_errcode("ELOOP", ELOOP, "Too many symbolic links encountered");
207 add_errcode("ELOOP", WSAELOOP, "Too many symbolic links encountered");
211 add_errcode("EXDEV", EXDEV, "Cross-device link");
214 add_errcode("E2BIG", E2BIG, "Arg list too long");
217 add_errcode("ESRCH", ESRCH, "No such process");
220 add_errcode("EMSGSIZE", EMSGSIZE, "Message too long");
223 add_errcode("EMSGSIZE", WSAEMSGSIZE, "Message too long");
227 add_errcode("EAFNOSUPPORT", EAFNOSUPPORT, "Address family not supported by protocol");
230 add_errcode("EAFNOSUPPORT", WSAEAFNOSUPPORT, "Address family not supported by protocol");
234 add_errcode("EBADR", EBADR, "Invalid request descriptor");
237 add_errcode("EHOSTDOWN", EHOSTDOWN, "Host is down");
240 add_errcode("EHOSTDOWN", WSAEHOSTDOWN, "Host is down");
244 add_errcode("EPFNOSUPPORT", EPFNOSUPPORT, "Protocol family not supported");
247 add_errcode("EPFNOSUPPORT", WSAEPFNOSUPPORT, "Protocol family not supported");
251 add_errcode("ENOPROTOOPT", ENOPROTOOPT, "Protocol not available");
254 add_errcode("ENOPROTOOPT", WSAENOPROTOOPT, "Protocol not available");
258 add_errcode("EBUSY", EBUSY, "Device or resource busy");
261 add_errcode("EWOULDBLOCK", EWOULDBLOCK, "Operation would block");
264 add_errcode("EWOULDBLOCK", WSAEWOULDBLOCK, "Operation would block");
268 add_errcode("EBADFD", EBADFD, "File descriptor in bad state");
271 add_errcode("EDOTDOT", EDOTDOT, "RFS specific error");
274 add_errcode("EISCONN", EISCONN, "Transport endpoint is already connected");
277 add_errcode("EISCONN", WSAEISCONN, "Transport endpoint is already connected");
281 add_errcode("ENOANO", ENOANO, "No anode");
288 add_errcode("ESHUTDOWN", ESHUTDOWN, "Cannot send after transport endpoint shutdown");
291 add_errcode("ESHUTDOWN", WSAESHUTDOWN, "Cannot send after transport endpoint shutdown");
295 add_errcode("ECHRNG", ECHRNG, "Channel number out of range");
298 add_errcode("ELIBBAD", ELIBBAD, "Accessing a corrupted shared library");
301 add_errcode("ENONET", ENONET, "Machine is not on the network");
304 add_errcode("EBADE", EBADE, "Invalid exchange");
307 add_errcode("EBADF", EBADF, "Bad file number");
310 add_errcode("EBADF", WSAEBADF, "Bad file number");
314 add_errcode("EMULTIHOP", EMULTIHOP, "Multihop attempted");
317 add_errcode("EIO", EIO, "I/O error");
320 add_errcode("EUNATCH", EUNATCH, "Protocol driver not attached");
323 add_errcode("EPROTOTYPE", EPROTOTYPE, "Protocol wrong type for socket");
326 add_errcode("EPROTOTYPE", WSAEPROTOTYPE, "Protocol wrong type for socket");
330 add_errcode("ENOSPC", ENOSPC, "No space left on device");
333 add_errcode("ENOEXEC", ENOEXEC, "Exec format error");
336 add_errcode("EALREADY", EALREADY, "Operation already in progress");
339 add_errcode("EALREADY", WSAEALREADY, "Operation already in progress");
343 add_errcode("ENETDOWN", ENETDOWN, "Network is down");
346 add_errcode("ENETDOWN", WSAENETDOWN, "Network is down");
350 add_errcode("ENOTNAM", ENOTNAM, "Not a XENIX named type file");
353 add_errcode("EACCES", EACCES, "Permission denied");
356 add_errcode("EACCES", WSAEACCES, "Permission denied");
360 add_errcode("ELNRNG", ELNRNG, "Link number out of range");
363 add_errcode("EILSEQ", EILSEQ, "Illegal byte sequence");
366 add_errcode("ENOTDIR", ENOTDIR, "Not a directory");
369 add_errcode("ENOTUNIQ", ENOTUNIQ, "Name not unique on network");
372 add_errcode("EPERM", EPERM, "Operation not permitted");
375 add_errcode("EDOM", EDOM, "Math argument out of domain of func");
378 add_errcode("EXFULL", EXFULL, "Exchange full");
381 add_errcode("ECONNREFUSED", ECONNREFUSED, "Connection refused");
384 add_errcode("ECONNREFUSED", WSAECONNREFUSED, "Connection refused");
388 add_errcode("EISDIR", EISDIR, "Is a directory");
391 add_errcode("EPROTONOSUPPORT", EPROTONOSUPPORT, "Protocol not supported");
394 add_errcode("EPROTONOSUPPORT", WSAEPROTONOSUPPORT, "Protocol not supported");
398 add_errcode("EROFS", EROFS, "Read-only file system");
401 add_errcode("EADDRNOTAVAIL", EADDRNOTAVAIL, "Cannot assign requested address");
404 add_errcode("EADDRNOTAVAIL", WSAEADDRNOTAVAIL, "Cannot assign requested address");
408 add_errcode("EIDRM", EIDRM, "Identifier removed");
411 add_errcode("ECOMM", ECOMM, "Communication error on send");
414 add_errcode("ESRMNT", ESRMNT, "Srmount error");
417 add_errcode("EREMOTEIO", EREMOTEIO, "Remote I/O error");
420 add_errcode("EL3RST", EL3RST, "Level 3 reset");
423 add_errcode("EBADMSG", EBADMSG, "Not a data message");
426 add_errcode("ENFILE", ENFILE, "File table overflow");
429 add_errcode("ELIBMAX", ELIBMAX, "Attempting to link in too many shared libraries");
432 add_errcode("ESPIPE", ESPIPE, "Illegal seek");
435 add_errcode("ENOLINK", ENOLINK, "Link has been severed");
438 add_errcode("ENETRESET", ENETRESET, "Network dropped connection because of reset");
441 add_errcode("ENETRESET", WSAENETRESET, "Network dropped connection because of reset");
445 add_errcode("ETIMEDOUT", ETIMEDOUT, "Connection timed out");
448 add_errcode("ETIMEDOUT", WSAETIMEDOUT, "Connection timed out");
452 add_errcode("ENOENT", ENOENT, "No such file or directory");
455 add_errcode("EEXIST", EEXIST, "File exists");
458 add_errcode("EDQUOT", EDQUOT, "Quota exceeded");
461 add_errcode("EDQUOT", WSAEDQUOT, "Quota exceeded");
465 add_errcode("ENOSTR", ENOSTR, "Device not a stream");
468 add_errcode("EBADSLT", EBADSLT, "Invalid slot");
471 add_errcode("EBADRQC", EBADRQC, "Invalid request code");
474 add_errcode("ELIBACC", ELIBACC, "Can not access a needed shared library");
477 add_errcode("EFAULT", EFAULT, "Bad address");
480 add_errcode("EFAULT", WSAEFAULT, "Bad address");
484 add_errcode("EFBIG", EFBIG, "File too large");
487 add_errcode("EDEADLK", EDEADLK, "Resource deadlock would occur");
490 add_errcode("ENOTCONN", ENOTCONN, "Transport endpoint is not connected");
493 add_errcode("ENOTCONN", WSAENOTCONN, "Transport endpoint is not connected");
497 add_errcode("EDESTADDRREQ", EDESTADDRREQ, "Destination address required");
500 add_errcode("EDESTADDRREQ", WSAEDESTADDRREQ, "Destination address required");
504 add_errcode("ELIBSCN", ELIBSCN, ".lib section in a.out corrupted");
507 add_errcode("ENOLCK", ENOLCK, "No record locks available");
510 add_errcode("EISNAM", EISNAM, "Is a named type file");
513 add_errcode("ECONNABORTED", ECONNABORTED, "Software caused connection abort");
516 add_errcode("ECONNABORTED", WSAECONNABORTED, "Software caused connection abort");
520 add_errcode("ENETUNREACH", ENETUNREACH, "Network is unreachable");
523 add_errcode("ENETUNREACH", WSAENETUNREACH, "Network is unreachable");
527 add_errcode("ESTALE", ESTALE, "Stale NFS file handle");
530 add_errcode("ESTALE", WSAESTALE, "Stale NFS file handle");
534 add_errcode("ENOSR", ENOSR, "Out of streams resources");
537 add_errcode("ENOMEM", ENOMEM, "Out of memory");
540 add_errcode("ENOTSOCK", ENOTSOCK, "Socket operation on non-socket");
543 add_errcode("ENOTSOCK", WSAENOTSOCK, "Socket operation on non-socket");
547 add_errcode("ESTRPIPE", ESTRPIPE, "Streams pipe error");
550 add_errcode("EMLINK", EMLINK, "Too many links");
553 add_errcode("ERANGE", ERANGE, "Math result not representable");
556 add_errcode("ELIBEXEC", ELIBEXEC, "Cannot exec a shared library directly");
559 add_errcode("EL3HLT", EL3HLT, "Level 3 halted");
562 add_errcode("ECONNRESET", ECONNRESET, "Connection reset by peer");
565 add_errcode("ECONNRESET", WSAECONNRESET, "Connection reset by peer");
569 add_errcode("EADDRINUSE", EADDRINUSE, "Address already in use");
572 add_errcode("EADDRINUSE", WSAEADDRINUSE, "Address already in use");
576 add_errcode("EOPNOTSUPP", EOPNOTSUPP, "Operation not supported on transport endpoint");
579 add_errcode("EOPNOTSUPP", WSAEOPNOTSUPP, "Operation not supported on transport endpoint");
583 add_errcode("EREMCHG", EREMCHG, "Remote address changed");
586 add_errcode("EAGAIN", EAGAIN, "Try again");
589 add_errcode("ENAMETOOLONG", ENAMETOOLONG, "File name too long");
592 add_errcode("ENAMETOOLONG", WSAENAMETOOLONG, "File name too long");
596 add_errcode("ENOTTY", ENOTTY, "Not a typewriter");
599 add_errcode("ERESTART", ERESTART, "Interrupted system call should be restarted");
602 add_errcode("ESOCKTNOSUPPORT", ESOCKTNOSUPPORT, "Socket type not supported");
605 add_errcode("ESOCKTNOSUPPORT", WSAESOCKTNOSUPPORT, "Socket type not supported");
609 add_errcode("ETIME", ETIME, "Timer expired");
612 add_errcode("EBFONT", EBFONT, "Bad font file format");
615 add_errcode("EDEADLOCK", EDEADLOCK, "Error EDEADLOCK");
618 add_errcode("ETOOMANYREFS", ETOOMANYREFS, "Too many references: cannot splice");
621 add_errcode("ETOOMANYREFS", WSAETOOMANYREFS, "Too many references: cannot splice");
625 add_errcode("EMFILE", EMFILE, "Too many open files");
628 add_errcode("EMFILE", WSAEMFILE, "Too many open files");
632 add_errcode("ETXTBSY", ETXTBSY, "Text file busy");
635 add_errcode("EINPROGRESS", EINPROGRESS, "Operation now in progress");
638 add_errcode("EINPROGRESS", WSAEINPROGRESS, "Operation now in progress");
642 add_errcode("ENXIO", ENXIO, "No such device or address");
645 add_errcode("ENOPKG", ENOPKG, "Package not installed");
648 add_errcode("WSASY", WSASY, "Error WSASY");
651 add_errcode("WSAEHOSTDOWN", WSAEHOSTDOWN, "Host is down");
654 add_errcode("WSAENETDOWN", WSAENETDOWN, "Network is down");
657 add_errcode("WSAENOTSOCK", WSAENOTSOCK, "Socket operation on non-socket");
660 add_errcode("WSAEHOSTUNREACH", WSAEHOSTUNREACH, "No route to host");
663 add_errcode("WSAELOOP", WSAELOOP, "Too many symbolic links encountered");
666 add_errcode("WSAEMFILE", WSAEMFILE, "Too many open files");
669 add_errcode("WSAESTALE", WSAESTALE, "Stale NFS file handle");
672 add_errcode("WSAVERNOTSUPPORTED", WSAVERNOTSUPPORTED, "Error WSAVERNOTSUPPORTED");
675 add_errcode("WSAENETUNREACH", WSAENETUNREACH, "Network is unreachable");
678 add_errcode("WSAEPROCLIM", WSAEPROCLIM, "Error WSAEPROCLIM");
681 add_errcode("WSAEFAULT", WSAEFAULT, "Bad address");
684 add_errcode("WSANOTINITIALISED", WSANOTINITIALISED, "Error WSANOTINITIALISED");
687 add_errcode("WSAEUSERS", WSAEUSERS, "Too many users");
690 add_errcode("WSAMAKEASYNCREPL", WSAMAKEASYNCREPL, "Error WSAMAKEASYNCREPL");
693 add_errcode("WSAENOPROTOOPT", WSAENOPROTOOPT, "Protocol not available");
696 add_errcode("WSAECONNABORTED", WSAECONNABORTED, "Software caused connection abort");
699 add_errcode("WSAENAMETOOLONG", WSAENAMETOOLONG, "File name too long");
702 add_errcode("WSAENOTEMPTY", WSAENOTEMPTY, "Directory not empty");
705 add_errcode("WSAESHUTDOWN", WSAESHUTDOWN, "Cannot send after transport endpoint shutdown");
708 add_errcode("WSAEAFNOSUPPORT", WSAEAFNOSUPPORT, "Address family not supported by protocol");
711 add_errcode("WSAETOOMANYREFS", WSAETOOMANYREFS, "Too many references: cannot splice");
714 add_errcode("WSAEACCES", WSAEACCES, "Permission denied");
717 add_errcode("WSATR", WSATR, "Error WSATR");
720 add_errcode("WSABASEERR", WSABASEERR, "Error WSABASEERR");
723 add_errcode("WSADESCRIPTIO", WSADESCRIPTIO, "Error WSADESCRIPTIO");
726 add_errcode("WSAEMSGSIZE", WSAEMSGSIZE, "Message too long");
729 add_errcode("WSAEBADF", WSAEBADF, "Bad file number");
732 add_errcode("WSAECONNRESET", WSAECONNRESET, "Connection reset by peer");
735 add_errcode("WSAGETSELECTERRO", WSAGETSELECTERRO, "Error WSAGETSELECTERRO");
738 add_errcode("WSAETIMEDOUT", WSAETIMEDOUT, "Connection timed out");
741 add_errcode("WSAENOBUFS", WSAENOBUFS, "No buffer space available");
744 add_errcode("WSAEDISCON", WSAEDISCON, "Error WSAEDISCON");
747 add_errcode("WSAEINTR", WSAEINTR, "Interrupted system call");
750 add_errcode("WSAEPROTOTYPE", WSAEPROTOTYPE, "Protocol wrong type for socket");
753 add_errcode("WSAHOS", WSAHOS, "Error WSAHOS");
756 add_errcode("WSAEADDRINUSE", WSAEADDRINUSE, "Address already in use");
759 add_errcode("WSAEADDRNOTAVAIL", WSAEADDRNOTAVAIL, "Cannot assign requested address");
762 add_errcode("WSAEALREADY", WSAEALREADY, "Operation already in progress");
765 add_errcode("WSAEPROTONOSUPPORT", WSAEPROTONOSUPPORT, "Protocol not supported");
768 add_errcode("WSASYSNOTREADY", WSASYSNOTREADY, "Error WSASYSNOTREADY");
771 add_errcode("WSAEWOULDBLOCK", WSAEWOULDBLOCK, "Operation would block");
774 add_errcode("WSAEPFNOSUPPORT", WSAEPFNOSUPPORT, "Protocol family not supported");
777 add_errcode("WSAEOPNOTSUPP", WSAEOPNOTSUPP, "Operation not supported on transport endpoint");
780 add_errcode("WSAEISCONN", WSAEISCONN, "Transport endpoint is already connected");
783 add_errcode("WSAEDQUOT", WSAEDQUOT, "Quota exceeded");
786 add_errcode("WSAENOTCONN", WSAENOTCONN, "Transport endpoint is not connected");
789 add_errcode("WSAEREMOTE", WSAEREMOTE, "Object is remote");
792 add_errcode("WSAEINVAL", WSAEINVAL, "Invalid argument");
795 add_errcode("WSAEINPROGRESS", WSAEINPROGRESS, "Operation now in progress");
798 add_errcode("WSAGETSELECTEVEN", WSAGETSELECTEVEN, "Error WSAGETSELECTEVEN");
801 add_errcode("WSAESOCKTNOSUPPORT", WSAESOCKTNOSUPPORT, "Socket type not supported");
804 add_errcode("WSAGETASYNCERRO", WSAGETASYNCERRO, "Error WSAGETASYNCERRO");
807 add_errcode("WSAMAKESELECTREPL", WSAMAKESELECTREPL, "Error WSAMAKESELECTREPL");
810 add_errcode("WSAGETASYNCBUFLE", WSAGETASYNCBUFLE, "Error WSAGETASYNCBUFLE");
813 add_errcode("WSAEDESTADDRREQ", WSAEDESTADDRREQ, "Destination address required");
816 add_errcode("WSAECONNREFUSED", WSAECONNREFUSED, "Connection refused");
819 add_errcode("WSAENETRESET", WSAENETRESET, "Network dropped connection because of reset");
822 add_errcode("WSAN", WSAN, "Error WSAN");
825 add_errcode("ENOMEDIUM", ENOMEDIUM, "No medium found");
828 add_errcode("EMEDIUMTYPE", EMEDIUMTYPE, "Wrong medium type");
831 add_errcode("ECANCELED", ECANCELED, "Operation Canceled");
834 add_errcode("ENOKEY", ENOKEY, "Required key not available");
837 add_errcode("EKEYEXPIRED", EKEYEXPIRED, "Key has expired");
840 add_errcode("EKEYREVOKED", EKEYREVOKED, "Key has been revoked");
843 add_errcode("EKEYREJECTED", EKEYREJECTED, "Key was rejected by service");
846 add_errcode("EOWNERDEAD", EOWNERDEAD, "Owner died");
849 add_errcode("ENOTRECOVERABLE", ENOTRECOVERABLE, "State not recoverable");
852 add_errcode("ERFKILL", ERFKILL, "Operation not possible due to RF-kill");
857 add_errcode("ECANCELED", ECANCELED, "Operation canceled");
860 add_errcode("ENOTSUP", ENOTSUP, "Operation not supported");
863 add_errcode("EOWNERDEAD", EOWNERDEAD, "Process died with the lock");
866 add_errcode("ENOTRECOVERABLE", ENOTRECOVERABLE, "Lock is not recoverable");
869 add_errcode("ELOCKUNMAPPED", ELOCKUNMAPPED, "Locked lock was unmapped");
872 add_errcode("ENOTACTIVE", ENOTACTIVE, "Facility is not active");
877 add_errcode("EAUTH", EAUTH, "Authentication error");
880 add_errcode("EBADARCH", EBADARCH, "Bad CPU type in executable");
883 add_errcode("EBADEXEC", EBADEXEC, "Bad executable (or shared library)");
886 add_errcode("EBADMACHO", EBADMACHO, "Malformed Mach-o file");
889 add_errcode("EBADRPC", EBADRPC, "RPC struct is bad");
892 add_errcode("EDEVERR", EDEVERR, "Device error");
895 add_errcode("EFTYPE", EFTYPE, "Inappropriate file type or format");
898 add_errcode("ENEEDAUTH", ENEEDAUTH, "Need authenticator");
901 add_errcode("ENOATTR", ENOATTR, "Attribute not found");
904 add_errcode("ENOPOLICY", ENOPOLICY, "Policy not found");
907 add_errcode("EPROCLIM", EPROCLIM, "Too many processes");
910 add_errcode("EPROCUNAVAIL", EPROCUNAVAIL, "Bad procedure for program");
913 add_errcode("EPROGMISMATCH", EPROGMISMATCH, "Program version wrong");
916 add_errcode("EPROGUNAVAIL", EPROGUNAVAIL, "RPC prog. not avail");
919 add_errcode("EPWROFF", EPWROFF, "Device power is off");
922 add_errcode("ERPCMISMATCH", ERPCMISMATCH, "RPC version wrong");
925 add_errcode("ESHLIBVERS", ESHLIBVERS, "Shared library version mismatch");
928 add_errcode("EQFULL", EQFULL, "Interface output queue is full");
932 add_errcode("ENOTCAPABLE", ENOTCAPABLE, "Capabilities insufficient");