github.com/afumu/libc@v0.0.6/errno/errno_windows_amd64.go (about)

     1  // Code generated by 'ccgo errno\gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno\errno_windows_amd64.go -pkgname errno', DO NOT EDIT.
     2  
     3  package errno
     4  
     5  import (
     6  	"math"
     7  	"reflect"
     8  	"sync/atomic"
     9  	"unsafe"
    10  )
    11  
    12  var _ = math.Pi
    13  var _ reflect.Kind
    14  var _ atomic.Value
    15  var _ unsafe.Pointer
    16  
    17  const (
    18  	DUMMYSTRUCTNAME                                 = 0
    19  	DUMMYSTRUCTNAME1                                = 0
    20  	DUMMYSTRUCTNAME2                                = 0
    21  	DUMMYSTRUCTNAME3                                = 0
    22  	DUMMYSTRUCTNAME4                                = 0
    23  	DUMMYSTRUCTNAME5                                = 0
    24  	DUMMYUNIONNAME                                  = 0
    25  	DUMMYUNIONNAME1                                 = 0
    26  	DUMMYUNIONNAME2                                 = 0
    27  	DUMMYUNIONNAME3                                 = 0
    28  	DUMMYUNIONNAME4                                 = 0
    29  	DUMMYUNIONNAME5                                 = 0
    30  	DUMMYUNIONNAME6                                 = 0
    31  	DUMMYUNIONNAME7                                 = 0
    32  	DUMMYUNIONNAME8                                 = 0
    33  	DUMMYUNIONNAME9                                 = 0
    34  	E2BIG                                           = 7
    35  	EACCES                                          = 13
    36  	EADDRINUSE                                      = 100
    37  	EADDRNOTAVAIL                                   = 101
    38  	EAFNOSUPPORT                                    = 102
    39  	EAGAIN                                          = 11
    40  	EALREADY                                        = 103
    41  	EBADF                                           = 9
    42  	EBADMSG                                         = 104
    43  	EBUSY                                           = 16
    44  	ECANCELED                                       = 105
    45  	ECHILD                                          = 10
    46  	ECONNABORTED                                    = 106
    47  	ECONNREFUSED                                    = 107
    48  	ECONNRESET                                      = 108
    49  	EDEADLK                                         = 36
    50  	EDEADLOCK                                       = 36
    51  	EDESTADDRREQ                                    = 109
    52  	EDOM                                            = 33
    53  	EEXIST                                          = 17
    54  	EFAULT                                          = 14
    55  	EFBIG                                           = 27
    56  	EHOSTUNREACH                                    = 110
    57  	EIDRM                                           = 111
    58  	EILSEQ                                          = 42
    59  	EINPROGRESS                                     = 112
    60  	EINTR                                           = 4
    61  	EINVAL                                          = 22
    62  	EIO                                             = 5
    63  	EISCONN                                         = 113
    64  	EISDIR                                          = 21
    65  	ELOOP                                           = 114
    66  	EMFILE                                          = 24
    67  	EMLINK                                          = 31
    68  	EMSGSIZE                                        = 115
    69  	ENAMETOOLONG                                    = 38
    70  	ENETDOWN                                        = 116
    71  	ENETRESET                                       = 117
    72  	ENETUNREACH                                     = 118
    73  	ENFILE                                          = 23
    74  	ENOBUFS                                         = 119
    75  	ENODATA                                         = 120
    76  	ENODEV                                          = 19
    77  	ENOENT                                          = 2
    78  	ENOEXEC                                         = 8
    79  	ENOFILE                                         = 2
    80  	ENOLCK                                          = 39
    81  	ENOLINK                                         = 121
    82  	ENOMEM                                          = 12
    83  	ENOMSG                                          = 122
    84  	ENOPROTOOPT                                     = 123
    85  	ENOSPC                                          = 28
    86  	ENOSR                                           = 124
    87  	ENOSTR                                          = 125
    88  	ENOSYS                                          = 40
    89  	ENOTCONN                                        = 126
    90  	ENOTDIR                                         = 20
    91  	ENOTEMPTY                                       = 41
    92  	ENOTRECOVERABLE                                 = 127
    93  	ENOTSOCK                                        = 128
    94  	ENOTSUP                                         = 129
    95  	ENOTTY                                          = 25
    96  	ENXIO                                           = 6
    97  	EOPNOTSUPP                                      = 130
    98  	EOVERFLOW                                       = 132
    99  	EOWNERDEAD                                      = 133
   100  	EPERM                                           = 1
   101  	EPIPE                                           = 32
   102  	EPROTO                                          = 134
   103  	EPROTONOSUPPORT                                 = 135
   104  	EPROTOTYPE                                      = 136
   105  	ERANGE                                          = 34
   106  	EROFS                                           = 30
   107  	ESPIPE                                          = 29
   108  	ESRCH                                           = 3
   109  	ETIME                                           = 137
   110  	ETIMEDOUT                                       = 138
   111  	ETXTBSY                                         = 139
   112  	EWOULDBLOCK                                     = 140
   113  	EXDEV                                           = 18
   114  	MINGW_DDK_H                                     = 0
   115  	MINGW_DDRAW_VERSION                             = 7
   116  	MINGW_HAS_DDK_H                                 = 1
   117  	MINGW_HAS_DDRAW_H                               = 1
   118  	MINGW_HAS_SECURE_API                            = 1
   119  	MINGW_SDK_INIT                                  = 0
   120  	STRUNCATE                                       = 80
   121  	UNALIGNED                                       = 0
   122  	USE___UUIDOF                                    = 0
   123  	WIN32                                           = 1
   124  	WIN64                                           = 1
   125  	WINNT                                           = 1
   126  	X_AGLOBAL                                       = 0
   127  	X_ANONYMOUS_STRUCT                              = 0
   128  	X_ANONYMOUS_UNION                               = 0
   129  	X_ARGMAX                                        = 100
   130  	X_CONST_RETURN                                  = 0
   131  	X_CRTNOALIAS                                    = 0
   132  	X_CRTRESTRICT                                   = 0
   133  	X_CRT_ALTERNATIVE_IMPORTED                      = 0
   134  	X_CRT_ERRNO_DEFINED                             = 0
   135  	X_CRT_MANAGED_HEAP_DEPRECATE                    = 0
   136  	X_CRT_PACKING                                   = 8
   137  	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES          = 0
   138  	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY   = 0
   139  	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES        = 0
   140  	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT  = 0
   141  	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
   142  	X_DLL                                           = 0
   143  	X_ERRCODE_DEFINED                               = 0
   144  	X_FILE_OFFSET_BITS                              = 64
   145  	X_INC_CRTDEFS                                   = 0
   146  	X_INC_CRTDEFS_MACRO                             = 0
   147  	X_INC_ERRNO                                     = 0
   148  	X_INC_MINGW_SECAPI                              = 0
   149  	X_INC_VADEFS                                    = 0
   150  	X_INC__MINGW_H                                  = 0
   151  	X_INT128_DEFINED                                = 0
   152  	X_INTEGRAL_MAX_BITS                             = 64
   153  	X_INTPTR_T_DEFINED                              = 0
   154  	X_MT                                            = 0
   155  	X_M_AMD64                                       = 100
   156  	X_M_X64                                         = 100
   157  	X_PGLOBAL                                       = 0
   158  	X_PTRDIFF_T_                                    = 0
   159  	X_PTRDIFF_T_DEFINED                             = 0
   160  	X_REENTRANT                                     = 1
   161  	X_RSIZE_T_DEFINED                               = 0
   162  	X_SECURECRT_ERRCODE_VALUES_DEFINED              = 0
   163  	X_SECURECRT_FILL_BUFFER_PATTERN                 = 0xFD
   164  	X_SIZE_T_DEFINED                                = 0
   165  	X_SSIZE_T_DEFINED                               = 0
   166  	X_TAGLC_ID_DEFINED                              = 0
   167  	X_THREADLOCALEINFO                              = 0
   168  	X_TIME32_T_DEFINED                              = 0
   169  	X_TIME64_T_DEFINED                              = 0
   170  	X_TIME_T_DEFINED                                = 0
   171  	X_UINTPTR_T_DEFINED                             = 0
   172  	X_VA_LIST_DEFINED                               = 0
   173  	X_W64                                           = 0
   174  	X_WCHAR_T_DEFINED                               = 0
   175  	X_WCTYPE_T_DEFINED                              = 0
   176  	X_WIN32                                         = 1
   177  	X_WIN32_WINNT                                   = 0x502
   178  	X_WIN64                                         = 1
   179  	X_WINT_T                                        = 0
   180  )
   181  
   182  type Ptrdiff_t = int64 /* <builtin>:3:26 */
   183  
   184  type Size_t = uint64 /* <builtin>:9:23 */
   185  
   186  type Wchar_t = uint16 /* <builtin>:15:24 */
   187  
   188  type X__int128_t = struct {
   189  	Flo int64
   190  	Fhi int64
   191  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
   192  type X__uint128_t = struct {
   193  	Flo uint64
   194  	Fhi uint64
   195  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
   196  
   197  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   198  type X__float128 = float64        /* <builtin>:47:21 */
   199  
   200  type Va_list = X__builtin_va_list /* <builtin>:50:27 */
   201  
   202  // *
   203  // This file has no copyright assigned and is placed in the Public Domain.
   204  // This file is part of the mingw-w64 runtime package.
   205  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   206  
   207  // *
   208  // This file has no copyright assigned and is placed in the Public Domain.
   209  // This file is part of the mingw-w64 runtime package.
   210  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   211  
   212  // *
   213  // This file has no copyright assigned and is placed in the Public Domain.
   214  // This file is part of the mingw-w64 runtime package.
   215  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   216  
   217  // *
   218  // This file has no copyright assigned and is placed in the Public Domain.
   219  // This file is part of the mingw-w64 runtime package.
   220  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   221  
   222  // This macro holds an monotonic increasing value, which indicates
   223  //    a specific fix/patch is present on trunk.  This value isn't related to
   224  //    minor/major version-macros.  It is increased on demand, if a big
   225  //    fix was applied to trunk.  This macro gets just increased on trunk.  For
   226  //    other branches its value won't be modified.
   227  
   228  // mingw.org's version macros: these make gcc to define
   229  //    MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global
   230  //    and the __mingwthr_key_dtor() function from the MinGW
   231  //    CRT in its private gthr-win32.h header.
   232  
   233  // Set VC specific compiler target macros.
   234  
   235  // MS does not prefix symbols by underscores for 64-bit.
   236  // As we have to support older gcc version, which are using underscores
   237  //       as symbol prefix for x64, we have to check here for the user label
   238  //       prefix defined by gcc.
   239  
   240  // Special case nameless struct/union.
   241  
   242  // MinGW-w64 has some additional C99 printf/scanf feature support.
   243  //    So we add some helper macros to ease recognition of them.
   244  
   245  // *
   246  // This file has no copyright assigned and is placed in the Public Domain.
   247  // This file is part of the mingw-w64 runtime package.
   248  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   249  
   250  // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx
   251  // Templates won't work in C, will break if secure API is not enabled, disabled
   252  
   253  // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true
   254  // fallback on default implementation if we can't know the size of the destination
   255  
   256  // Include _cygwin.h if we're building a Cygwin application.
   257  
   258  // Target specific macro replacement for type "long".  In the Windows API,
   259  //    the type long is always 32 bit, even if the target is 64 bit (LLP64).
   260  //    On 64 bit Cygwin, the type long is 64 bit (LP64).  So, to get the right
   261  //    sized definitions and declarations, all usage of type long in the Windows
   262  //    headers have to be replaced by the below defined macro __LONG32.
   263  
   264  // C/C++ specific language defines.
   265  
   266  // Note the extern. This is needed to work around GCC's
   267  // limitations in handling dllimport attribute.
   268  
   269  // Attribute `nonnull' was valid as of gcc 3.3.  We don't use GCC's
   270  //    variadiac macro facility, because variadic macros cause syntax
   271  //    errors with  --traditional-cpp.
   272  
   273  //  High byte is the major version, low byte is the minor.
   274  
   275  // *
   276  // This file has no copyright assigned and is placed in the Public Domain.
   277  // This file is part of the mingw-w64 runtime package.
   278  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   279  
   280  // *
   281  // This file has no copyright assigned and is placed in the Public Domain.
   282  // This file is part of the mingw-w64 runtime package.
   283  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   284  
   285  type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
   286  
   287  type Ssize_t = int64 /* crtdefs.h:45:35 */
   288  
   289  type Rsize_t = Size_t /* crtdefs.h:52:16 */
   290  
   291  type Intptr_t = int64 /* crtdefs.h:62:35 */
   292  
   293  type Uintptr_t = uint64 /* crtdefs.h:75:44 */
   294  
   295  type Wint_t = uint16   /* crtdefs.h:106:24 */
   296  type Wctype_t = uint16 /* crtdefs.h:107:24 */
   297  
   298  type Errno_t = int32 /* crtdefs.h:113:13 */
   299  
   300  type X__time32_t = int32 /* crtdefs.h:118:14 */
   301  
   302  type X__time64_t = int64 /* crtdefs.h:123:35 */
   303  
   304  type Time_t = X__time64_t /* crtdefs.h:138:20 */
   305  
   306  type Threadlocaleinfostruct = struct {
   307  	Frefcount      int32
   308  	Flc_codepage   uint32
   309  	Flc_collate_cp uint32
   310  	Flc_handle     [6]uint32
   311  	Flc_id         [6]LC_ID
   312  	Flc_category   [6]struct {
   313  		Flocale    uintptr
   314  		Fwlocale   uintptr
   315  		Frefcount  uintptr
   316  		Fwrefcount uintptr
   317  	}
   318  	Flc_clike            int32
   319  	Fmb_cur_max          int32
   320  	Flconv_intl_refcount uintptr
   321  	Flconv_num_refcount  uintptr
   322  	Flconv_mon_refcount  uintptr
   323  	Flconv               uintptr
   324  	Fctype1_refcount     uintptr
   325  	Fctype1              uintptr
   326  	Fpctype              uintptr
   327  	Fpclmap              uintptr
   328  	Fpcumap              uintptr
   329  	Flc_time_curr        uintptr
   330  } /* crtdefs.h:422:1 */
   331  
   332  type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
   333  type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
   334  
   335  type Localeinfo_struct = struct {
   336  	Flocinfo Pthreadlocinfo
   337  	Fmbcinfo Pthreadmbcinfo
   338  } /* crtdefs.h:428:9 */
   339  
   340  type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
   341  type X_locale_t = uintptr                 /* crtdefs.h:431:19 */
   342  
   343  type TagLC_ID = struct {
   344  	FwLanguage uint16
   345  	FwCountry  uint16
   346  	FwCodePage uint16
   347  } /* crtdefs.h:422:1 */
   348  
   349  type LC_ID = TagLC_ID  /* crtdefs.h:439:3 */
   350  type LPLC_ID = uintptr /* crtdefs.h:439:9 */
   351  
   352  type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
   353  
   354  // Posix thread extensions.
   355  
   356  // Extension defined as by report VC 10+ defines error-numbers.
   357  
   358  // Defined as WSAETIMEDOUT.
   359  
   360  var _ int8 /* gen.c:2:13: */