gtsocial-umbx

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

stdlib_windows_386.go (28740B)


      1 // Code generated by 'ccgo stdlib/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdlib/stdlib_windows_386.go -pkgname stdlib', DO NOT EDIT.
      2 
      3 package stdlib
      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 	CHAR_BIT                                        = 8                    // limits.h:64:1:
     19 	CHAR_MAX                                        = 127                  // limits.h:99:1:
     20 	CHAR_MIN                                        = -128                 // limits.h:97:1:
     21 	DUMMYSTRUCTNAME                                 = 0                    // _mingw.h:519:1:
     22 	DUMMYSTRUCTNAME1                                = 0                    // _mingw.h:520:1:
     23 	DUMMYSTRUCTNAME2                                = 0                    // _mingw.h:521:1:
     24 	DUMMYSTRUCTNAME3                                = 0                    // _mingw.h:522:1:
     25 	DUMMYSTRUCTNAME4                                = 0                    // _mingw.h:523:1:
     26 	DUMMYSTRUCTNAME5                                = 0                    // _mingw.h:524:1:
     27 	DUMMYUNIONNAME                                  = 0                    // _mingw.h:497:1:
     28 	DUMMYUNIONNAME1                                 = 0                    // _mingw.h:498:1:
     29 	DUMMYUNIONNAME2                                 = 0                    // _mingw.h:499:1:
     30 	DUMMYUNIONNAME3                                 = 0                    // _mingw.h:500:1:
     31 	DUMMYUNIONNAME4                                 = 0                    // _mingw.h:501:1:
     32 	DUMMYUNIONNAME5                                 = 0                    // _mingw.h:502:1:
     33 	DUMMYUNIONNAME6                                 = 0                    // _mingw.h:503:1:
     34 	DUMMYUNIONNAME7                                 = 0                    // _mingw.h:504:1:
     35 	DUMMYUNIONNAME8                                 = 0                    // _mingw.h:505:1:
     36 	DUMMYUNIONNAME9                                 = 0                    // _mingw.h:506:1:
     37 	EXIT_FAILURE                                    = 1                    // stdlib.h:45:1:
     38 	EXIT_SUCCESS                                    = 0                    // stdlib.h:44:1:
     39 	INT_MAX                                         = 2147483647           // limits.h:120:1:
     40 	INT_MIN                                         = -2147483648          // limits.h:118:1:
     41 	LLONG_MAX                                       = 9223372036854775807  // limits.h:142:1:
     42 	LLONG_MIN                                       = -9223372036854775808 // limits.h:140:1:
     43 	LONG_LONG_MAX                                   = 9223372036854775807  // limits.h:154:1:
     44 	LONG_LONG_MIN                                   = -9223372036854775808 // limits.h:152:1:
     45 	LONG_MAX                                        = 2147483647           // limits.h:131:1:
     46 	LONG_MIN                                        = -2147483648          // limits.h:129:1:
     47 	MB_LEN_MAX                                      = 5                    // limits.h:35:1:
     48 	MINGW_DDK_H                                     = 0                    // _mingw_ddk.h:2:1:
     49 	MINGW_HAS_DDK_H                                 = 1                    // _mingw_ddk.h:4:1:
     50 	MINGW_HAS_SECURE_API                            = 1                    // _mingw.h:602:1:
     51 	MINGW_SDK_INIT                                  = 0                    // _mingw.h:598:1:
     52 	PATH_MAX                                        = 260                  // limits.h:20:1:
     53 	RAND_MAX                                        = 0x7fff               // stdlib.h:106:1:
     54 	SCHAR_MAX                                       = 127                  // limits.h:75:1:
     55 	SCHAR_MIN                                       = -128                 // limits.h:73:1:
     56 	SHRT_MAX                                        = 32767                // limits.h:106:1:
     57 	SHRT_MIN                                        = -32768               // limits.h:104:1:
     58 	SIZE_MAX                                        = 4294967295           // limits.h:78:1:
     59 	SSIZE_MAX                                       = 2147483647           // limits.h:86:1:
     60 	UCHAR_MAX                                       = 255                  // limits.h:82:1:
     61 	UINT_MAX                                        = 4294967295           // limits.h:124:1:
     62 	ULLONG_MAX                                      = 18446744073709551615 // limits.h:146:1:
     63 	ULONG_LONG_MAX                                  = 18446744073709551615 // limits.h:158:1:
     64 	ULONG_MAX                                       = 4294967295           // limits.h:135:1:
     65 	UNALIGNED                                       = 0                    // _mingw.h:384:1:
     66 	USE___UUIDOF                                    = 0                    // _mingw.h:77:1:
     67 	USHRT_MAX                                       = 65535                // limits.h:113:1:
     68 	WIN32                                           = 1                    // <predefined>:258:1:
     69 	WINNT                                           = 1                    // <predefined>:306:1:
     70 	X_AGLOBAL                                       = 0                    // _mingw.h:346:1:
     71 	X_ALLOCA_S_HEAP_MARKER                          = 0xDDDD               // malloc.h:137:1:
     72 	X_ALLOCA_S_MARKER_SIZE                          = 8                    // malloc.h:140:1:
     73 	X_ALLOCA_S_STACK_MARKER                         = 0xCCCC               // malloc.h:136:1:
     74 	X_ALLOCA_S_THRESHOLD                            = 1024                 // malloc.h:135:1:
     75 	X_ANONYMOUS_STRUCT                              = 0                    // _mingw.h:474:1:
     76 	X_ANONYMOUS_UNION                               = 0                    // _mingw.h:473:1:
     77 	X_ARGMAX                                        = 100                  // _mingw.h:402:1:
     78 	X_CALL_REPORTFAULT                              = 0x2                  // stdlib.h:139:1:
     79 	X_CONST_RETURN                                  = 0                    // _mingw.h:377:1:
     80 	X_CRTNOALIAS                                    = 0                    // corecrt.h:29:1:
     81 	X_CRTRESTRICT                                   = 0                    // corecrt.h:33:1:
     82 	X_CRT_ABS_DEFINED                               = 0                    // stdlib.h:410:1:
     83 	X_CRT_ALGO_DEFINED                              = 0                    // stdlib.h:433:1:
     84 	X_CRT_ALLOCATION_DEFINED                        = 0                    // stdlib.h:528:1:
     85 	X_CRT_ALTERNATIVE_IMPORTED                      = 0                    // _mingw.h:313:1:
     86 	X_CRT_ATOF_DEFINED                              = 0                    // stdlib.h:424:1:
     87 	X_CRT_DOUBLE_DEC                                = 0                    // stdlib.h:72:1:
     88 	X_CRT_ERRNO_DEFINED                             = 0                    // stdlib.h:153:1:
     89 	X_CRT_MANAGED_HEAP_DEPRECATE                    = 0                    // _mingw.h:361:1:
     90 	X_CRT_PACKING                                   = 8                    // corecrt.h:14:1:
     91 	X_CRT_PERROR_DEFINED                            = 0                    // stdlib.h:648:1:
     92 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES          = 0                    // _mingw_secapi.h:34:1:
     93 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY   = 0                    // _mingw_secapi.h:35:1:
     94 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES        = 0                    // _mingw_secapi.h:36:1:
     95 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT  = 0                    // _mingw_secapi.h:37:1:
     96 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0                    // _mingw_secapi.h:38:1:
     97 	X_CRT_SWAB_DEFINED                              = 0                    // stdlib.h:716:1:
     98 	X_CRT_SYSTEM_DEFINED                            = 0                    // stdlib.h:518:1:
     99 	X_CRT_TERMINATE_DEFINED                         = 0                    // stdlib.h:387:1:
    100 	X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP             = 0                    // corecrt.h:501:1:
    101 	X_CRT_WPERROR_DEFINED                           = 0                    // stdlib.h:677:1:
    102 	X_CRT_WSYSTEM_DEFINED                           = 0                    // stdlib.h:587:1:
    103 	X_CVTBUFSIZE                                    = 349                  // stdlib.h:611:1:
    104 	X_DIV_T_DEFINED                                 = 0                    // stdlib.h:58:1:
    105 	X_DLL                                           = 0                    // _mingw.h:326:1:
    106 	X_ERRCODE_DEFINED                               = 0                    // corecrt.h:117:1:
    107 	X_FILE_OFFSET_BITS                              = 64                   // <builtin>:25:1:
    108 	X_FREEA_INLINE                                  = 0                    // malloc.h:161:1:
    109 	X_FREEENTRY                                     = 0                    // malloc.h:40:1:
    110 	X_GCC_LIMITS_H_                                 = 0                    // limits.h:30:1:
    111 	X_HEAPBADBEGIN                                  = -3                   // malloc.h:34:1:
    112 	X_HEAPBADNODE                                   = -4                   // malloc.h:35:1:
    113 	X_HEAPBADPTR                                    = -6                   // malloc.h:37:1:
    114 	X_HEAPEMPTY                                     = -1                   // malloc.h:32:1:
    115 	X_HEAPEND                                       = -5                   // malloc.h:36:1:
    116 	X_HEAPINFO_DEFINED                              = 0                    // malloc.h:44:1:
    117 	X_HEAPOK                                        = -2                   // malloc.h:33:1:
    118 	X_HEAP_MAXREQ                                   = 0xFFFFFFE0           // malloc.h:20:1:
    119 	X_I16_MAX                                       = 32767                // limits.h:54:1:
    120 	X_I16_MIN                                       = -32768               // limits.h:53:1:
    121 	X_I32_MAX                                       = 2147483647           // limits.h:58:1:
    122 	X_I32_MIN                                       = -2147483648          // limits.h:57:1:
    123 	X_I64_MAX                                       = 9223372036854775807  // limits.h:71:1:
    124 	X_I64_MIN                                       = -9223372036854775808 // limits.h:70:1:
    125 	X_I8_MAX                                        = 127                  // limits.h:50:1:
    126 	X_I8_MIN                                        = -128                 // limits.h:49:1:
    127 	X_ILP32                                         = 1                    // <predefined>:211:1:
    128 	X_INC_CORECRT                                   = 0                    // corecrt.h:8:1:
    129 	X_INC_CORECRT_WSTDLIB                           = 0                    // corecrt_wstdlib.h:7:1:
    130 	X_INC_CRTDEFS                                   = 0                    // crtdefs.h:8:1:
    131 	X_INC_CRTDEFS_MACRO                             = 0                    // _mingw_mac.h:8:1:
    132 	X_INC_LIMITS                                    = 0                    // limits.h:9:1:
    133 	X_INC_MINGW_SECAPI                              = 0                    // _mingw_secapi.h:8:1:
    134 	X_INC_STDLIB                                    = 0                    // stdlib.h:7:1:
    135 	X_INC_STDLIB_S                                  = 0                    // stdlib_s.h:7:1:
    136 	X_INC_VADEFS                                    = 0                    // vadefs.h:7:1:
    137 	X_INC__MINGW_H                                  = 0                    // _mingw.h:8:1:
    138 	X_INT128_DEFINED                                = 0                    // _mingw.h:237:1:
    139 	X_INTEGRAL_MAX_BITS                             = 64                   // <predefined>:320:1:
    140 	X_INTPTR_T_DEFINED                              = 0                    // corecrt.h:62:1:
    141 	X_LIMITS_H___                                   = 0                    // limits.h:60:1:
    142 	X_MALLOC_H_                                     = 0                    // malloc.h:7:1:
    143 	X_MAX_DIR                                       = 256                  // stdlib.h:129:1:
    144 	X_MAX_DRIVE                                     = 3                    // stdlib.h:128:1:
    145 	X_MAX_ENV                                       = 32767                // stdlib.h:141:1:
    146 	X_MAX_EXT                                       = 256                  // stdlib.h:131:1:
    147 	X_MAX_FNAME                                     = 256                  // stdlib.h:130:1:
    148 	X_MAX_PATH                                      = 260                  // stdlib.h:127:1:
    149 	X_MAX_WAIT_MALLOC_CRT                           = 60000                // malloc.h:108:1:
    150 	X_MM_MALLOC_H_INCLUDED                          = 0                    // malloc.h:61:1:
    151 	X_MT                                            = 0                    // _mingw.h:330:1:
    152 	X_M_IX86                                        = 600                  // _mingw_mac.h:54:1:
    153 	X_ONEXIT_T_DEFINED                              = 0                    // stdlib.h:48:1:
    154 	X_OUT_TO_DEFAULT                                = 0                    // stdlib.h:133:1:
    155 	X_OUT_TO_MSGBOX                                 = 2                    // stdlib.h:135:1:
    156 	X_OUT_TO_STDERR                                 = 1                    // stdlib.h:134:1:
    157 	X_PGLOBAL                                       = 0                    // _mingw.h:342:1:
    158 	X_PTRDIFF_T_                                    = 0                    // corecrt.h:90:1:
    159 	X_PTRDIFF_T_DEFINED                             = 0                    // corecrt.h:88:1:
    160 	X_QSORT_S_DEFINED                               = 0                    // stdlib_s.h:40:1:
    161 	X_REPORT_ERRMODE                                = 3                    // stdlib.h:136:1:
    162 	X_RSIZE_T_DEFINED                               = 0                    // corecrt.h:58:1:
    163 	X_SECURECRT_FILL_BUFFER_PATTERN                 = 0xFD                 // _mingw.h:349:1:
    164 	X_SIZE_T_DEFINED                                = 0                    // corecrt.h:37:1:
    165 	X_SSIZE_T_DEFINED                               = 0                    // corecrt.h:47:1:
    166 	X_TAGLC_ID_DEFINED                              = 0                    // corecrt.h:447:1:
    167 	X_THREADLOCALEINFO                              = 0                    // corecrt.h:456:1:
    168 	X_TIME32_T_DEFINED                              = 0                    // corecrt.h:122:1:
    169 	X_TIME64_T_DEFINED                              = 0                    // corecrt.h:127:1:
    170 	X_TIME_T_DEFINED                                = 0                    // corecrt.h:139:1:
    171 	X_UI16_MAX                                      = 0xffff               // limits.h:55:1:
    172 	X_UI32_MAX                                      = 0xffffffff           // limits.h:59:1:
    173 	X_UI64_MAX                                      = 0xffffffffffffffff   // limits.h:72:1:
    174 	X_UI8_MAX                                       = 0xff                 // limits.h:51:1:
    175 	X_UINTPTR_T_DEFINED                             = 0                    // corecrt.h:75:1:
    176 	X_USEDENTRY                                     = 1                    // malloc.h:41:1:
    177 	X_USE_32BIT_TIME_T                              = 0                    // _mingw.h:372:1:
    178 	X_VA_LIST_DEFINED                               = 0                    // <builtin>:55:1:
    179 	X_W64                                           = 0                    // _mingw.h:296:1:
    180 	X_WCHAR_T_DEFINED                               = 0                    // corecrt.h:101:1:
    181 	X_WCTYPE_T_DEFINED                              = 0                    // corecrt.h:108:1:
    182 	X_WIN32                                         = 1                    // <predefined>:164:1:
    183 	X_WIN32_WINNT                                   = 0x502                // _mingw.h:233:1:
    184 	X_WINT_T                                        = 0                    // corecrt.h:110:1:
    185 	X_WRITE_ABORT_MSG                               = 0x1                  // stdlib.h:138:1:
    186 	X_WSTDLIBP_DEFINED                              = 0                    // stdlib.h:673:1:
    187 	X_WSTDLIB_DEFINED                               = 0                    // stdlib.h:553:1:
    188 	X_X86_                                          = 1                    // <predefined>:169:1:
    189 	I386                                            = 1                    // <predefined>:171:1:
    190 )
    191 
    192 type Ptrdiff_t = int32 /* <builtin>:3:26 */
    193 
    194 type Size_t = uint32 /* <builtin>:9:23 */
    195 
    196 type Wchar_t = uint16 /* <builtin>:15:24 */
    197 
    198 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    199 type X__float128 = float64        /* <builtin>:47:21 */
    200 
    201 type Va_list = X__builtin_va_list /* <builtin>:50:27 */
    202 
    203 // *
    204 // This file has no copyright assigned and is placed in the Public Domain.
    205 // This file is part of the mingw-w64 runtime package.
    206 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    207 
    208 // *
    209 // This file has no copyright assigned and is placed in the Public Domain.
    210 // This file is part of the mingw-w64 runtime package.
    211 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    212 
    213 // *
    214 // This file has no copyright assigned and is placed in the Public Domain.
    215 // This file is part of the mingw-w64 runtime package.
    216 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    217 
    218 // *
    219 // This file has no copyright assigned and is placed in the Public Domain.
    220 // This file is part of the mingw-w64 runtime package.
    221 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    222 
    223 // This macro holds an monotonic increasing value, which indicates
    224 //    a specific fix/patch is present on trunk.  This value isn't related to
    225 //    minor/major version-macros.  It is increased on demand, if a big
    226 //    fix was applied to trunk.  This macro gets just increased on trunk.  For
    227 //    other branches its value won't be modified.
    228 
    229 // mingw.org's version macros: these make gcc to define
    230 //    MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global
    231 //    and the __mingwthr_key_dtor() function from the MinGW
    232 //    CRT in its private gthr-win32.h header.
    233 
    234 // Set VC specific compiler target macros.
    235 
    236 // For x86 we have always to prefix by underscore.
    237 
    238 // Special case nameless struct/union.
    239 
    240 // MinGW-w64 has some additional C99 printf/scanf feature support.
    241 //    So we add some helper macros to ease recognition of them.
    242 
    243 // If _FORTIFY_SOURCE is enabled, some inline functions may use
    244 //    __builtin_va_arg_pack().  GCC may report an error if the address
    245 //    of such a function is used.  Set _FORTIFY_VA_ARG=0 in this case.
    246 
    247 // Enable workaround for ABI incompatibility on affected platforms
    248 
    249 // *
    250 // This file has no copyright assigned and is placed in the Public Domain.
    251 // This file is part of the mingw-w64 runtime package.
    252 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    253 
    254 // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx
    255 // Templates won't work in C, will break if secure API is not enabled, disabled
    256 
    257 // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true
    258 // fallback on default implementation if we can't know the size of the destination
    259 
    260 // Include _cygwin.h if we're building a Cygwin application.
    261 
    262 // Target specific macro replacement for type "long".  In the Windows API,
    263 //    the type long is always 32 bit, even if the target is 64 bit (LLP64).
    264 //    On 64 bit Cygwin, the type long is 64 bit (LP64).  So, to get the right
    265 //    sized definitions and declarations, all usage of type long in the Windows
    266 //    headers have to be replaced by the below defined macro __LONG32.
    267 
    268 // C/C++ specific language defines.
    269 
    270 // Note the extern. This is needed to work around GCC's
    271 // limitations in handling dllimport attribute.
    272 
    273 // Attribute `nonnull' was valid as of gcc 3.3.  We don't use GCC's
    274 //    variadiac macro facility, because variadic macros cause syntax
    275 //    errors with  --traditional-cpp.
    276 
    277 //  High byte is the major version, low byte is the minor.
    278 
    279 // *
    280 // This file has no copyright assigned and is placed in the Public Domain.
    281 // This file is part of the mingw-w64 runtime package.
    282 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    283 
    284 // *
    285 // This file has no copyright assigned and is placed in the Public Domain.
    286 // This file is part of the mingw-w64 runtime package.
    287 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    288 
    289 // for backward compatibility
    290 
    291 type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
    292 
    293 type Ssize_t = int32 /* corecrt.h:52:13 */
    294 
    295 type Rsize_t = Size_t /* corecrt.h:57:16 */
    296 
    297 type Intptr_t = int32 /* corecrt.h:69:13 */
    298 
    299 type Uintptr_t = uint32 /* corecrt.h:82:22 */
    300 
    301 type Wint_t = uint16   /* corecrt.h:111:24 */
    302 type Wctype_t = uint16 /* corecrt.h:112:24 */
    303 
    304 type Errno_t = int32 /* corecrt.h:118:13 */
    305 
    306 type X__time32_t = int32 /* corecrt.h:123:14 */
    307 
    308 type X__time64_t = int64 /* corecrt.h:128:35 */
    309 
    310 type Time_t = X__time32_t /* corecrt.h:141:20 */
    311 
    312 type Threadlocaleinfostruct = struct {
    313 	Frefcount      int32
    314 	Flc_codepage   uint32
    315 	Flc_collate_cp uint32
    316 	Flc_handle     [6]uint32
    317 	Flc_id         [6]LC_ID
    318 	Flc_category   [6]struct {
    319 		Flocale    uintptr
    320 		Fwlocale   uintptr
    321 		Frefcount  uintptr
    322 		Fwrefcount uintptr
    323 	}
    324 	Flc_clike            int32
    325 	Fmb_cur_max          int32
    326 	Flconv_intl_refcount uintptr
    327 	Flconv_num_refcount  uintptr
    328 	Flconv_mon_refcount  uintptr
    329 	Flconv               uintptr
    330 	Fctype1_refcount     uintptr
    331 	Fctype1              uintptr
    332 	Fpctype              uintptr
    333 	Fpclmap              uintptr
    334 	Fpcumap              uintptr
    335 	Flc_time_curr        uintptr
    336 } /* corecrt.h:435:1 */
    337 
    338 type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
    339 type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
    340 
    341 type Localeinfo_struct = struct {
    342 	Flocinfo Pthreadlocinfo
    343 	Fmbcinfo Pthreadmbcinfo
    344 } /* corecrt.h:441:9 */
    345 
    346 type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
    347 type X_locale_t = uintptr                 /* corecrt.h:444:19 */
    348 
    349 type TagLC_ID = struct {
    350 	FwLanguage uint16
    351 	FwCountry  uint16
    352 	FwCodePage uint16
    353 } /* corecrt.h:435:1 */
    354 
    355 type LC_ID = TagLC_ID  /* corecrt.h:452:3 */
    356 type LPLC_ID = uintptr /* corecrt.h:452:9 */
    357 
    358 type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
    359 
    360 // Copyright (C) 1992-2020 Free Software Foundation, Inc.
    361 //
    362 // This file is part of GCC.
    363 //
    364 // GCC is free software; you can redistribute it and/or modify it under
    365 // the terms of the GNU General Public License as published by the Free
    366 // Software Foundation; either version 3, or (at your option) any later
    367 // version.
    368 //
    369 // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
    370 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
    371 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    372 // for more details.
    373 //
    374 // Under Section 7 of GPL version 3, you are granted additional
    375 // permissions described in the GCC Runtime Library Exception, version
    376 // 3.1, as published by the Free Software Foundation.
    377 //
    378 // You should have received a copy of the GNU General Public License and
    379 // a copy of the GCC Runtime Library Exception along with this program;
    380 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    381 // <http://www.gnu.org/licenses/>.
    382 
    383 // This administrivia gets added to the beginning of limits.h
    384 //    if the system has its own version of limits.h.
    385 
    386 // We use _GCC_LIMITS_H_ because we want this not to match
    387 //    any macros that the system's limits.h uses for its own purposes.
    388 
    389 // Use "..." so that we find syslimits.h only in this same directory.
    390 // syslimits.h stands for the system's own limits.h file.
    391 //    If we can use it ok unmodified, then we install this text.
    392 //    If fixincludes fixes it, then the fixed version is installed
    393 //    instead of this text.
    394 
    395 // *
    396 // This file has no copyright assigned and is placed in the Public Domain.
    397 // This file is part of the mingw-w64 runtime package.
    398 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    399 // *
    400 // This file has no copyright assigned and is placed in the Public Domain.
    401 // This file is part of the mingw-w64 runtime package.
    402 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    403 
    404 // *
    405 // This file has no copyright assigned and is placed in the Public Domain.
    406 // This file is part of the mingw-w64 runtime package.
    407 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    408 
    409 // File system limits
    410 //
    411 // NOTE: Apparently the actual size of PATH_MAX is 260, but a space is
    412 //       required for the NUL. TODO: Test?
    413 // NOTE: PATH_MAX is the POSIX equivalent for Microsoft's MAX_PATH; the two
    414 //       are semantically identical, with a limit of 259 characters for the
    415 //       path name, plus one for a terminating NUL, for a total of 260.
    416 
    417 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
    418 //
    419 // This file is part of GCC.
    420 //
    421 // GCC is free software; you can redistribute it and/or modify it under
    422 // the terms of the GNU General Public License as published by the Free
    423 // Software Foundation; either version 3, or (at your option) any later
    424 // version.
    425 //
    426 // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
    427 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
    428 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    429 // for more details.
    430 //
    431 // Under Section 7 of GPL version 3, you are granted additional
    432 // permissions described in the GCC Runtime Library Exception, version
    433 // 3.1, as published by the Free Software Foundation.
    434 //
    435 // You should have received a copy of the GNU General Public License and
    436 // a copy of the GCC Runtime Library Exception along with this program;
    437 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    438 // <http://www.gnu.org/licenses/>.
    439 
    440 // Number of bits in a `char'.
    441 
    442 // Maximum length of a multibyte character.
    443 
    444 // Minimum and maximum values a `signed char' can hold.
    445 
    446 // Maximum value an `unsigned char' can hold.  (Minimum is 0).
    447 
    448 // Minimum and maximum values a `char' can hold.
    449 
    450 // Minimum and maximum values a `signed short int' can hold.
    451 
    452 // Maximum value an `unsigned short int' can hold.  (Minimum is 0).
    453 
    454 // Minimum and maximum values a `signed int' can hold.
    455 
    456 // Maximum value an `unsigned int' can hold.  (Minimum is 0).
    457 
    458 // Minimum and maximum values a `signed long int' can hold.
    459 //    (Same as `int').
    460 
    461 // Maximum value an `unsigned long int' can hold.  (Minimum is 0).
    462 
    463 // Minimum and maximum values a `signed long long int' can hold.
    464 
    465 // Maximum value an `unsigned long long int' can hold.  (Minimum is 0).
    466 
    467 // Minimum and maximum values a `signed long long int' can hold.
    468 
    469 // Maximum value an `unsigned long long int' can hold.  (Minimum is 0).
    470 
    471 // This administrivia gets added to the end of limits.h
    472 //    if the system has its own version of limits.h.
    473 
    474 type X_onexit_t = uintptr /* stdlib.h:50:15 */
    475 
    476 type X_div_t = struct {
    477 	Fquot int32
    478 	Frem  int32
    479 } /* stdlib.h:60:11 */
    480 
    481 type Div_t = X_div_t /* stdlib.h:63:5 */
    482 
    483 type X_ldiv_t = struct {
    484 	Fquot int32
    485 	Frem  int32
    486 } /* stdlib.h:65:11 */
    487 
    488 type Ldiv_t = X_ldiv_t /* stdlib.h:68:5 */
    489 
    490 type X_LDOUBLE = struct{ Fld [10]uint8 } /* stdlib.h:77:5 */
    491 
    492 type X_CRT_DOUBLE = struct{ Fx float64 } /* stdlib.h:84:5 */
    493 
    494 type X_CRT_FLOAT = struct{ Ff float32 } /* stdlib.h:88:5 */
    495 
    496 type X_LONGDOUBLE = struct{ Fx float64 } /* stdlib.h:95:5 */
    497 
    498 type X_LDBL12 = struct{ Fld12 [12]uint8 } /* stdlib.h:102:5 */
    499 
    500 type X_purecall_handler = uintptr /* stdlib.h:143:16 */
    501 
    502 type X_invalid_parameter_handler = uintptr /* stdlib.h:148:16 */
    503 
    504 type Lldiv_t = struct {
    505 	Fquot int64
    506 	Frem  int64
    507 } /* stdlib.h:727:61 */
    508 
    509 // *
    510 // This file has no copyright assigned and is placed in the Public Domain.
    511 // This file is part of the mingw-w64 runtime package.
    512 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    513 
    514 // *
    515 // This file has no copyright assigned and is placed in the Public Domain.
    516 // This file is part of the mingw-w64 runtime package.
    517 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    518 
    519 // Return codes for _heapwalk()
    520 
    521 // Values for _heapinfo.useflag
    522 
    523 // The structure used to walk through the heap with _heapwalk.
    524 type X_heapinfo = struct {
    525 	F_pentry  uintptr
    526 	F_size    Size_t
    527 	F_useflag int32
    528 } /* malloc.h:46:11 */
    529 
    530 // *
    531 // This file has no copyright assigned and is placed in the Public Domain.
    532 // This file is part of the mingw-w64 runtime package.
    533 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    534 
    535 // *
    536 // This file has no copyright assigned and is placed in the Public Domain.
    537 // This file is part of the mingw-w64 runtime package.
    538 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    539 
    540 // Return codes for _heapwalk()
    541 
    542 // Values for _heapinfo.useflag
    543 
    544 // The structure used to walk through the heap with _heapwalk.
    545 type X_HEAPINFO = X_heapinfo /* malloc.h:50:5 */
    546 
    547 var _ int8 /* gen.c:2:13: */