2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
15 #ifndef _CRT_ERRNO_DEFINED
16 #define _CRT_ERRNO_DEFINED
17 _CRTIMP
extern int *__cdecl
_errno(void);
18 #define errno (*_errno())
20 errno_t __cdecl
_set_errno(_In_
int _Value
);
21 errno_t __cdecl
_get_errno(_Out_
int *_Value
);
55 #define ENAMETOOLONG 38
60 #ifndef _CRT_NO_POSIX_ERROR_CODES
61 #define EADDRINUSE 100
62 #define EADDRNOTAVAIL 101
63 #define EAFNOSUPPORT 102
67 #define ECONNABORTED 106
68 #define ECONNREFUSED 107
69 #define ECONNRESET 108
70 #define EDESTADDRREQ 109
71 #define EHOSTUNREACH 110
73 #define EINPROGRESS 112
79 #define ENETUNREACH 118
84 #define ENOPROTOOPT 123
88 #define ENOTRECOVERABLE 127
91 #define EOPNOTSUPP 130
94 #define EOWNERDEAD 133
96 #define EPROTONOSUPPORT 135
97 #define EPROTOTYPE 136
101 #define EWOULDBLOCK 140
105 #if !defined(_SECURECRT_ERRCODE_VALUES_DEFINED)
106 #define _SECURECRT_ERRCODE_VALUES_DEFINED
114 #define EDEADLOCK EDEADLK
116 #define EWOULDBLOCK 140