gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

errno_windows_arm64.go (15746B)


      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_arm64.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_HAS_DDK_H                                 = 1
    116 	MINGW_HAS_SECURE_API                            = 1
    117 	MINGW_SDK_INIT                                  = 0
    118 	STRUNCATE                                       = 80
    119 	UNALIGNED                                       = 0
    120 	USE___UUIDOF                                    = 0
    121 	WIN32                                           = 1
    122 	WIN64                                           = 1
    123 	WINNT                                           = 1
    124 	X_AGLOBAL                                       = 0
    125 	X_ANONYMOUS_STRUCT                              = 0
    126 	X_ANONYMOUS_UNION                               = 0
    127 	X_ARGMAX                                        = 100
    128 	X_ARM64_                                        = 1
    129 	X_CONST_RETURN                                  = 0
    130 	X_CRTNOALIAS                                    = 0
    131 	X_CRTRESTRICT                                   = 0
    132 	X_CRT_ALTERNATIVE_IMPORTED                      = 0
    133 	X_CRT_ERRNO_DEFINED                             = 0
    134 	X_CRT_MANAGED_HEAP_DEPRECATE                    = 0
    135 	X_CRT_PACKING                                   = 8
    136 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES          = 0
    137 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY   = 0
    138 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES        = 0
    139 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT  = 0
    140 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
    141 	X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP             = 0
    142 	X_DLL                                           = 0
    143 	X_ERRCODE_DEFINED                               = 0
    144 	X_FILE_OFFSET_BITS                              = 64
    145 	X_INC_CORECRT                                   = 0
    146 	X_INC_CRTDEFS                                   = 0
    147 	X_INC_CRTDEFS_MACRO                             = 0
    148 	X_INC_ERRNO                                     = 0
    149 	X_INC_MINGW_SECAPI                              = 0
    150 	X_INC_VADEFS                                    = 0
    151 	X_INC__MINGW_H                                  = 0
    152 	X_INT128_DEFINED                                = 0
    153 	X_INTPTR_T_DEFINED                              = 0
    154 	X_MT                                            = 0
    155 	X_M_ARM64                                       = 1
    156 	X_PGLOBAL                                       = 0
    157 	X_PTRDIFF_T_                                    = 0
    158 	X_PTRDIFF_T_DEFINED                             = 0
    159 	X_RSIZE_T_DEFINED                               = 0
    160 	X_SECURECRT_ERRCODE_VALUES_DEFINED              = 0
    161 	X_SECURECRT_FILL_BUFFER_PATTERN                 = 0xFD
    162 	X_SIZE_T_DEFINED                                = 0
    163 	X_SSIZE_T_DEFINED                               = 0
    164 	X_TAGLC_ID_DEFINED                              = 0
    165 	X_THREADLOCALEINFO                              = 0
    166 	X_TIME32_T_DEFINED                              = 0
    167 	X_TIME64_T_DEFINED                              = 0
    168 	X_TIME_T_DEFINED                                = 0
    169 	X_UCRT                                          = 0
    170 	X_UINTPTR_T_DEFINED                             = 0
    171 	X_VA_LIST_DEFINED                               = 0
    172 	X_W64                                           = 0
    173 	X_WCHAR_T_DEFINED                               = 0
    174 	X_WCTYPE_T_DEFINED                              = 0
    175 	X_WIN32                                         = 1
    176 	X_WIN32_WINNT                                   = 0x601
    177 	X_WIN64                                         = 1
    178 	X_WINT_T                                        = 0
    179 )
    180 
    181 type Ptrdiff_t = int64 /* <builtin>:3:26 */
    182 
    183 type Size_t = uint64 /* <builtin>:9:23 */
    184 
    185 type Wchar_t = uint16 /* <builtin>:15:24 */
    186 
    187 type X__int128_t = struct {
    188 	Flo int64
    189 	Fhi int64
    190 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    191 type X__uint128_t = struct {
    192 	Flo uint64
    193 	Fhi uint64
    194 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    195 
    196 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    197 type X__float128 = float64        /* <builtin>:47:21 */
    198 
    199 type Va_list = X__builtin_va_list /* <builtin>:50:27 */
    200 
    201 // *
    202 // This file has no copyright assigned and is placed in the Public Domain.
    203 // This file is part of the mingw-w64 runtime package.
    204 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    205 
    206 // *
    207 // This file has no copyright assigned and is placed in the Public Domain.
    208 // This file is part of the mingw-w64 runtime package.
    209 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    210 
    211 // *
    212 // This file has no copyright assigned and is placed in the Public Domain.
    213 // This file is part of the mingw-w64 runtime package.
    214 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    215 
    216 // *
    217 // This file has no copyright assigned and is placed in the Public Domain.
    218 // This file is part of the mingw-w64 runtime package.
    219 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    220 
    221 // *
    222 // This file has no copyright assigned and is placed in the Public Domain.
    223 // This file is part of the mingw-w64 runtime package.
    224 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    225 
    226 // This macro holds an monotonic increasing value, which indicates
    227 //    a specific fix/patch is present on trunk.  This value isn't related to
    228 //    minor/major version-macros.  It is increased on demand, if a big
    229 //    fix was applied to trunk.  This macro gets just increased on trunk.  For
    230 //    other branches its value won't be modified.
    231 
    232 // mingw.org's version macros: these make gcc to define
    233 //    MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global
    234 //    and the __mingwthr_key_dtor() function from the MinGW
    235 //    CRT in its private gthr-win32.h header.
    236 
    237 // Set VC specific compiler target macros.
    238 
    239 // MS does not prefix symbols by underscores for 64-bit.
    240 // As we have to support older gcc version, which are using underscores
    241 //       as symbol prefix for x64, we have to check here for the user label
    242 //       prefix defined by gcc.
    243 
    244 // Special case nameless struct/union.
    245 
    246 // MinGW-w64 has some additional C99 printf/scanf feature support.
    247 //    So we add some helper macros to ease recognition of them.
    248 
    249 // If _FORTIFY_SOURCE is enabled, some inline functions may use
    250 //    __builtin_va_arg_pack().  GCC may report an error if the address
    251 //    of such a function is used.  Set _FORTIFY_VA_ARG=0 in this case.
    252 
    253 // Enable workaround for ABI incompatibility on affected platforms
    254 
    255 // *
    256 // This file has no copyright assigned and is placed in the Public Domain.
    257 // This file is part of the mingw-w64 runtime package.
    258 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    259 
    260 // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx
    261 // Templates won't work in C, will break if secure API is not enabled, disabled
    262 
    263 // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true
    264 // fallback on default implementation if we can't know the size of the destination
    265 
    266 // Include _cygwin.h if we're building a Cygwin application.
    267 
    268 // Target specific macro replacement for type "long".  In the Windows API,
    269 //    the type long is always 32 bit, even if the target is 64 bit (LLP64).
    270 //    On 64 bit Cygwin, the type long is 64 bit (LP64).  So, to get the right
    271 //    sized definitions and declarations, all usage of type long in the Windows
    272 //    headers have to be replaced by the below defined macro __LONG32.
    273 
    274 // C/C++ specific language defines.
    275 
    276 // Note the extern. This is needed to work around GCC's
    277 // limitations in handling dllimport attribute.
    278 
    279 // Attribute `nonnull' was valid as of gcc 3.3.  We don't use GCC's
    280 //    variadiac macro facility, because variadic macros cause syntax
    281 //    errors with  --traditional-cpp.
    282 
    283 //  High byte is the major version, low byte is the minor.
    284 
    285 // Allow both 0x1400 and 0xE00 to identify UCRT
    286 
    287 // ===-------- vadefs.h ---------------------------------------------------===
    288 //
    289 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
    290 // See https://llvm.org/LICENSE.txt for license information.
    291 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
    292 //
    293 //===-----------------------------------------------------------------------===
    294 
    295 // Only include this if we are aiming for MSVC compatibility.
    296 // *
    297 // This file has no copyright assigned and is placed in the Public Domain.
    298 // This file is part of the mingw-w64 runtime package.
    299 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    300 
    301 // *
    302 // This file has no copyright assigned and is placed in the Public Domain.
    303 // This file is part of the mingw-w64 runtime package.
    304 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    305 
    306 // for backward compatibility
    307 
    308 type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
    309 
    310 type Ssize_t = int64 /* corecrt.h:45:35 */
    311 
    312 type Rsize_t = Size_t /* corecrt.h:52:16 */
    313 
    314 type Intptr_t = int64 /* corecrt.h:62:35 */
    315 
    316 type Uintptr_t = uint64 /* corecrt.h:75:44 */
    317 
    318 type Wint_t = uint16   /* corecrt.h:106:24 */
    319 type Wctype_t = uint16 /* corecrt.h:107:24 */
    320 
    321 type Errno_t = int32 /* corecrt.h:113:13 */
    322 
    323 type X__time32_t = int32 /* corecrt.h:118:14 */
    324 
    325 type X__time64_t = int64 /* corecrt.h:123:35 */
    326 
    327 type Time_t = X__time64_t /* corecrt.h:138:20 */
    328 
    329 type Threadlocaleinfostruct = struct {
    330 	F_locale_pctype      uintptr
    331 	F_locale_mb_cur_max  int32
    332 	F_locale_lc_codepage uint32
    333 } /* corecrt.h:430:1 */
    334 
    335 type Pthreadlocinfo = uintptr /* corecrt.h:432:39 */
    336 type Pthreadmbcinfo = uintptr /* corecrt.h:433:36 */
    337 
    338 type Localeinfo_struct = struct {
    339 	Flocinfo Pthreadlocinfo
    340 	Fmbcinfo Pthreadmbcinfo
    341 } /* corecrt.h:436:9 */
    342 
    343 type X_locale_tstruct = Localeinfo_struct /* corecrt.h:439:3 */
    344 type X_locale_t = uintptr                 /* corecrt.h:439:19 */
    345 
    346 type TagLC_ID = struct {
    347 	FwLanguage uint16
    348 	FwCountry  uint16
    349 	FwCodePage uint16
    350 } /* corecrt.h:443:9 */
    351 
    352 type LC_ID = TagLC_ID  /* corecrt.h:447:3 */
    353 type LPLC_ID = uintptr /* corecrt.h:447:9 */
    354 
    355 type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:482:3 */
    356 
    357 // Posix thread extensions.
    358 
    359 // Extension defined as by report VC 10+ defines error-numbers.
    360 
    361 // Defined as WSAETIMEDOUT.
    362 
    363 var _ int8 /* gen.c:2:13: */