Lines Matching defs:ERRNO
37 #include <errno.h>
425 * Macro SOCKERRNO / SET_SOCKERRNO() returns / sets the *socket-related* errno
433 #define SOCKERRNO (errno)
434 #define SET_SOCKERRNO(x) (errno = (x))
439 * Macro ERRNO / SET_ERRNO() returns / sets the NOT *socket-related* errno
444 #define ERRNO ((int)GetLastError())
447 #define ERRNO (errno)
448 #define SET_ERRNO(x) (errno = (x))
457 #undef EBADF /* override definition in errno.h */
459 #undef EINTR /* override definition in errno.h */
461 #undef EINVAL /* override definition in errno.h */
463 #undef EWOULDBLOCK /* override definition in errno.h */
465 #undef EINPROGRESS /* override definition in errno.h */
467 #undef EALREADY /* override definition in errno.h */
469 #undef ENOTSOCK /* override definition in errno.h */
471 #undef EDESTADDRREQ /* override definition in errno.h */
473 #undef EMSGSIZE /* override definition in errno.h */
475 #undef EPROTOTYPE /* override definition in errno.h */
477 #undef ENOPROTOOPT /* override definition in errno.h */
479 #undef EPROTONOSUPPORT /* override definition in errno.h */
482 #undef EOPNOTSUPP /* override definition in errno.h */
485 #undef EAFNOSUPPORT /* override definition in errno.h */
487 #undef EADDRINUSE /* override definition in errno.h */
489 #undef EADDRNOTAVAIL /* override definition in errno.h */
491 #undef ENETDOWN /* override definition in errno.h */
493 #undef ENETUNREACH /* override definition in errno.h */
495 #undef ENETRESET /* override definition in errno.h */
497 #undef ECONNABORTED /* override definition in errno.h */
499 #undef ECONNRESET /* override definition in errno.h */
501 #undef ENOBUFS /* override definition in errno.h */
503 #undef EISCONN /* override definition in errno.h */
505 #undef ENOTCONN /* override definition in errno.h */
509 #undef ETIMEDOUT /* override definition in errno.h */
511 #undef ECONNREFUSED /* override definition in errno.h */
513 #undef ELOOP /* override definition in errno.h */
515 #ifndef ENAMETOOLONG /* possible previous definition in errno.h */
519 #undef EHOSTUNREACH /* override definition in errno.h */
521 #ifndef ENOTEMPTY /* possible previous definition in errno.h */