utime_linux_386.go (34884B)
1 // Code generated by 'ccgo utime/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 utime/utime_linux_386.go -pkgname utime', DO NOT EDIT. 2 3 package utime 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 X_ATFILE_SOURCE = 1 19 X_BITS_TIME64_H = 1 20 X_BITS_TYPESIZES_H = 1 21 X_BITS_TYPES_H = 1 22 X_DEFAULT_SOURCE = 1 23 X_FEATURES_H = 1 24 X_FILE_OFFSET_BITS = 64 25 X_ILP32 = 1 26 X_POSIX_C_SOURCE = 200809 27 X_POSIX_SOURCE = 1 28 X_STDC_PREDEF_H = 1 29 X_SYS_CDEFS_H = 1 30 X_UTIME_H = 1 31 I386 = 1 32 Linux = 1 33 Unix = 1 34 ) 35 36 type Ptrdiff_t = int32 /* <builtin>:3:26 */ 37 38 type Size_t = uint32 /* <builtin>:9:23 */ 39 40 type Wchar_t = int32 /* <builtin>:15:24 */ 41 42 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 43 type X__float128 = float64 /* <builtin>:47:21 */ 44 45 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 46 // This file is part of the GNU C Library. 47 // 48 // The GNU C Library is free software; you can redistribute it and/or 49 // modify it under the terms of the GNU Lesser General Public 50 // License as published by the Free Software Foundation; either 51 // version 2.1 of the License, or (at your option) any later version. 52 // 53 // The GNU C Library is distributed in the hope that it will be useful, 54 // but WITHOUT ANY WARRANTY; without even the implied warranty of 55 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 56 // Lesser General Public License for more details. 57 // 58 // You should have received a copy of the GNU Lesser General Public 59 // License along with the GNU C Library; if not, see 60 // <https://www.gnu.org/licenses/>. 61 62 // POSIX Standard: 5.6.6 Set File Access and Modification Times <utime.h> 63 64 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 65 // This file is part of the GNU C Library. 66 // 67 // The GNU C Library is free software; you can redistribute it and/or 68 // modify it under the terms of the GNU Lesser General Public 69 // License as published by the Free Software Foundation; either 70 // version 2.1 of the License, or (at your option) any later version. 71 // 72 // The GNU C Library is distributed in the hope that it will be useful, 73 // but WITHOUT ANY WARRANTY; without even the implied warranty of 74 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 75 // Lesser General Public License for more details. 76 // 77 // You should have received a copy of the GNU Lesser General Public 78 // License along with the GNU C Library; if not, see 79 // <https://www.gnu.org/licenses/>. 80 81 // These are defined by the user (or the compiler) 82 // to specify the desired environment: 83 // 84 // __STRICT_ANSI__ ISO Standard C. 85 // _ISOC99_SOURCE Extensions to ISO C89 from ISO C99. 86 // _ISOC11_SOURCE Extensions to ISO C99 from ISO C11. 87 // _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X. 88 // __STDC_WANT_LIB_EXT2__ 89 // Extensions to ISO C99 from TR 27431-2:2010. 90 // __STDC_WANT_IEC_60559_BFP_EXT__ 91 // Extensions to ISO C11 from TS 18661-1:2014. 92 // __STDC_WANT_IEC_60559_FUNCS_EXT__ 93 // Extensions to ISO C11 from TS 18661-4:2015. 94 // __STDC_WANT_IEC_60559_TYPES_EXT__ 95 // Extensions to ISO C11 from TS 18661-3:2015. 96 // 97 // _POSIX_SOURCE IEEE Std 1003.1. 98 // _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2; 99 // if >=199309L, add IEEE Std 1003.1b-1993; 100 // if >=199506L, add IEEE Std 1003.1c-1995; 101 // if >=200112L, all of IEEE 1003.1-2004 102 // if >=200809L, all of IEEE 1003.1-2008 103 // _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if 104 // Single Unix conformance is wanted, to 600 for the 105 // sixth revision, to 700 for the seventh revision. 106 // _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions. 107 // _LARGEFILE_SOURCE Some more functions for correct standard I/O. 108 // _LARGEFILE64_SOURCE Additional functionality from LFS for large files. 109 // _FILE_OFFSET_BITS=N Select default filesystem interface. 110 // _ATFILE_SOURCE Additional *at interfaces. 111 // _GNU_SOURCE All of the above, plus GNU extensions. 112 // _DEFAULT_SOURCE The default set of features (taking precedence over 113 // __STRICT_ANSI__). 114 // 115 // _FORTIFY_SOURCE Add security hardening to many library functions. 116 // Set to 1 or 2; 2 performs stricter checks than 1. 117 // 118 // _REENTRANT, _THREAD_SAFE 119 // Obsolete; equivalent to _POSIX_C_SOURCE=199506L. 120 // 121 // The `-ansi' switch to the GNU C compiler, and standards conformance 122 // options such as `-std=c99', define __STRICT_ANSI__. If none of 123 // these are defined, or if _DEFAULT_SOURCE is defined, the default is 124 // to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to 125 // 200809L, as well as enabling miscellaneous functions from BSD and 126 // SVID. If more than one of these are defined, they accumulate. For 127 // example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together 128 // give you ISO C, 1003.1, and 1003.2, but nothing else. 129 // 130 // These are defined by this file and are used by the 131 // header files to decide what to declare or define: 132 // 133 // __GLIBC_USE (F) Define things from feature set F. This is defined 134 // to 1 or 0; the subsequent macros are either defined 135 // or undefined, and those tests should be moved to 136 // __GLIBC_USE. 137 // __USE_ISOC11 Define ISO C11 things. 138 // __USE_ISOC99 Define ISO C99 things. 139 // __USE_ISOC95 Define ISO C90 AMD1 (C95) things. 140 // __USE_ISOCXX11 Define ISO C++11 things. 141 // __USE_POSIX Define IEEE Std 1003.1 things. 142 // __USE_POSIX2 Define IEEE Std 1003.2 things. 143 // __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things. 144 // __USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things. 145 // __USE_XOPEN Define XPG things. 146 // __USE_XOPEN_EXTENDED Define X/Open Unix things. 147 // __USE_UNIX98 Define Single Unix V2 things. 148 // __USE_XOPEN2K Define XPG6 things. 149 // __USE_XOPEN2KXSI Define XPG6 XSI things. 150 // __USE_XOPEN2K8 Define XPG7 things. 151 // __USE_XOPEN2K8XSI Define XPG7 XSI things. 152 // __USE_LARGEFILE Define correct standard I/O things. 153 // __USE_LARGEFILE64 Define LFS things with separate names. 154 // __USE_FILE_OFFSET64 Define 64bit interface as default. 155 // __USE_MISC Define things from 4.3BSD or System V Unix. 156 // __USE_ATFILE Define *at interfaces and AT_* constants for them. 157 // __USE_GNU Define GNU extensions. 158 // __USE_FORTIFY_LEVEL Additional security measures used, according to level. 159 // 160 // The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are 161 // defined by this file unconditionally. `__GNU_LIBRARY__' is provided 162 // only for compatibility. All new code should use the other symbols 163 // to test for features. 164 // 165 // All macros listed above as possibly being defined by this file are 166 // explicitly undefined if they are not explicitly defined. 167 // Feature-test macros that are not defined by the user or compiler 168 // but are implied by the other feature-test macros defined (or by the 169 // lack of any definitions) are defined by the file. 170 // 171 // ISO C feature test macros depend on the definition of the macro 172 // when an affected header is included, not when the first system 173 // header is included, and so they are handled in 174 // <bits/libc-header-start.h>, which does not have a multiple include 175 // guard. Feature test macros that can be handled from the first 176 // system header included are handled here. 177 178 // Undefine everything, so we get a clean slate. 179 180 // Suppress kernel-name space pollution unless user expressedly asks 181 // for it. 182 183 // Convenience macro to test the version of gcc. 184 // Use like this: 185 // #if __GNUC_PREREQ (2,8) 186 // ... code requiring gcc 2.8 or later ... 187 // #endif 188 // Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was 189 // added in 2.0. 190 191 // Similarly for clang. Features added to GCC after version 4.2 may 192 // or may not also be available in clang, and clang's definitions of 193 // __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such 194 // features can be queried via __has_extension/__has_feature. 195 196 // Whether to use feature set F. 197 198 // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for 199 // _DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not 200 // issue a warning; the expectation is that the source is being 201 // transitioned to use the new macro. 202 203 // If _GNU_SOURCE was defined by the user, turn on all the other features. 204 205 // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined, 206 // define _DEFAULT_SOURCE. 207 208 // This is to enable the ISO C2X extension. 209 210 // This is to enable the ISO C11 extension. 211 212 // This is to enable the ISO C99 extension. 213 214 // This is to enable the ISO C90 Amendment 1:1995 extension. 215 216 // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE 217 // is defined, use POSIX.1-2008 (or another version depending on 218 // _XOPEN_SOURCE). 219 220 // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be 221 // defined in all multithreaded code. GNU libc has not required this 222 // for many years. We now treat them as compatibility synonyms for 223 // _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with 224 // comprehensive support for multithreaded code. Using them never 225 // lowers the selected level of POSIX conformance, only raises it. 226 227 // The function 'gets' existed in C89, but is impossible to use 228 // safely. It has been removed from ISO C11 and ISO C++14. Note: for 229 // compatibility with various implementations of <cstdio>, this test 230 // must consider only the value of __cplusplus when compiling C++. 231 232 // GNU formerly extended the scanf functions with modified format 233 // specifiers %as, %aS, and %a[...] that allocate a buffer for the 234 // input using malloc. This extension conflicts with ISO C99, which 235 // defines %a as a standalone format specifier that reads a floating- 236 // point number; moreover, POSIX.1-2008 provides the same feature 237 // using the modifier letter 'm' instead (%ms, %mS, %m[...]). 238 // 239 // We now follow C99 unless GNU extensions are active and the compiler 240 // is specifically in C89 or C++98 mode (strict or not). For 241 // instance, with GCC, -std=gnu11 will have C99-compliant scanf with 242 // or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the 243 // old extension. 244 245 // Get definitions of __STDC_* predefined macros, if the compiler has 246 // not preincluded this header automatically. 247 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 248 // This file is part of the GNU C Library. 249 // 250 // The GNU C Library is free software; you can redistribute it and/or 251 // modify it under the terms of the GNU Lesser General Public 252 // License as published by the Free Software Foundation; either 253 // version 2.1 of the License, or (at your option) any later version. 254 // 255 // The GNU C Library is distributed in the hope that it will be useful, 256 // but WITHOUT ANY WARRANTY; without even the implied warranty of 257 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 258 // Lesser General Public License for more details. 259 // 260 // You should have received a copy of the GNU Lesser General Public 261 // License along with the GNU C Library; if not, see 262 // <https://www.gnu.org/licenses/>. 263 264 // This macro indicates that the installed library is the GNU C Library. 265 // For historic reasons the value now is 6 and this will stay from now 266 // on. The use of this variable is deprecated. Use __GLIBC__ and 267 // __GLIBC_MINOR__ now (see below) when you want to test for a specific 268 // GNU C library version and use the values in <gnu/lib-names.h> to get 269 // the sonames of the shared libraries. 270 271 // Major and minor version number of the GNU C library package. Use 272 // these macros to test for features in specific releases. 273 274 // This is here only because every header file already includes this one. 275 // Copyright (C) 1992-2020 Free Software Foundation, Inc. 276 // This file is part of the GNU C Library. 277 // 278 // The GNU C Library is free software; you can redistribute it and/or 279 // modify it under the terms of the GNU Lesser General Public 280 // License as published by the Free Software Foundation; either 281 // version 2.1 of the License, or (at your option) any later version. 282 // 283 // The GNU C Library is distributed in the hope that it will be useful, 284 // but WITHOUT ANY WARRANTY; without even the implied warranty of 285 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 286 // Lesser General Public License for more details. 287 // 288 // You should have received a copy of the GNU Lesser General Public 289 // License along with the GNU C Library; if not, see 290 // <https://www.gnu.org/licenses/>. 291 292 // We are almost always included from features.h. 293 294 // The GNU libc does not support any K&R compilers or the traditional mode 295 // of ISO C compilers anymore. Check for some of the combinations not 296 // anymore supported. 297 298 // Some user header file might have defined this before. 299 300 // All functions, except those with callbacks or those that 301 // synchronize memory, are leaf functions. 302 303 // GCC can always grok prototypes. For C++ programs we add throw() 304 // to help it optimize the function calls. But this works only with 305 // gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions 306 // as non-throwing using a function attribute since programs can use 307 // the -fexceptions options for C code as well. 308 309 // Compilers that are not clang may object to 310 // #if defined __clang__ && __has_extension(...) 311 // even though they do not need to evaluate the right-hand side of the &&. 312 313 // These two macros are not used in glibc anymore. They are kept here 314 // only because some other projects expect the macros to be defined. 315 316 // For these things, GCC behaves the ANSI way normally, 317 // and the non-ANSI way under -traditional. 318 319 // This is not a typedef so `const __ptr_t' does the right thing. 320 321 // C++ needs to know that types and declarations are C, not C++. 322 323 // Fortify support. 324 325 // Support for flexible arrays. 326 // Headers that should use flexible arrays only if they're "real" 327 // (e.g. only if they won't affect sizeof()) should test 328 // #if __glibc_c99_flexarr_available. 329 330 // __asm__ ("xyz") is used throughout the headers to rename functions 331 // at the assembly language level. This is wrapped by the __REDIRECT 332 // macro, in order to support compilers that can do this some other 333 // way. When compilers don't support asm-names at all, we have to do 334 // preprocessor tricks instead (which don't have exactly the right 335 // semantics, but it's the best we can do). 336 // 337 // Example: 338 // int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); 339 340 // 341 // #elif __SOME_OTHER_COMPILER__ 342 // 343 // # define __REDIRECT(name, proto, alias) name proto; _Pragma("let " #name " = " #alias) 344 345 // GCC has various useful declarations that can be made with the 346 // `__attribute__' syntax. All of the ways we use this do fine if 347 // they are omitted for compilers that don't understand it. 348 349 // At some point during the gcc 2.96 development the `malloc' attribute 350 // for functions was introduced. We don't want to use it unconditionally 351 // (although this would be possible) since it generates warnings. 352 353 // Tell the compiler which arguments to an allocation function 354 // indicate the size of the allocation. 355 356 // At some point during the gcc 2.96 development the `pure' attribute 357 // for functions was introduced. We don't want to use it unconditionally 358 // (although this would be possible) since it generates warnings. 359 360 // This declaration tells the compiler that the value is constant. 361 362 // At some point during the gcc 3.1 development the `used' attribute 363 // for functions was introduced. We don't want to use it unconditionally 364 // (although this would be possible) since it generates warnings. 365 366 // Since version 3.2, gcc allows marking deprecated functions. 367 368 // Since version 4.5, gcc also allows one to specify the message printed 369 // when a deprecated function is used. clang claims to be gcc 4.2, but 370 // may also support this feature. 371 372 // At some point during the gcc 2.8 development the `format_arg' attribute 373 // for functions was introduced. We don't want to use it unconditionally 374 // (although this would be possible) since it generates warnings. 375 // If several `format_arg' attributes are given for the same function, in 376 // gcc-3.0 and older, all but the last one are ignored. In newer gccs, 377 // all designated arguments are considered. 378 379 // At some point during the gcc 2.97 development the `strfmon' format 380 // attribute for functions was introduced. We don't want to use it 381 // unconditionally (although this would be possible) since it 382 // generates warnings. 383 384 // The nonull function attribute allows to mark pointer parameters which 385 // must not be NULL. 386 387 // If fortification mode, we warn about unused results of certain 388 // function calls which can lead to problems. 389 390 // Forces a function to be always inlined. 391 // The Linux kernel defines __always_inline in stddef.h (283d7573), and 392 // it conflicts with this definition. Therefore undefine it first to 393 // allow either header to be included first. 394 395 // Associate error messages with the source location of the call site rather 396 // than with the source location inside the function. 397 398 // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 399 // inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ 400 // or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions 401 // older than 4.3 may define these macros and still not guarantee GNU inlining 402 // semantics. 403 // 404 // clang++ identifies itself as gcc-4.2, but has support for GNU inlining 405 // semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and 406 // __GNUC_GNU_INLINE__ macro definitions. 407 408 // GCC 4.3 and above allow passing all anonymous arguments of an 409 // __extern_always_inline function to some other vararg function. 410 411 // It is possible to compile containing GCC extensions even if GCC is 412 // run in pedantic mode if the uses are carefully marked using the 413 // `__extension__' keyword. But this is not generally available before 414 // version 2.8. 415 416 // __restrict is known in EGCS 1.2 and above. 417 418 // ISO C99 also allows to declare arrays as non-overlapping. The syntax is 419 // array_name[restrict] 420 // GCC 3.1 supports this. 421 422 // Describes a char array whose address can safely be passed as the first 423 // argument to strncpy and strncat, as the char array is not necessarily 424 // a NUL-terminated string. 425 426 // Undefine (also defined in libc-symbols.h). 427 // Copies attributes from the declaration or type referenced by 428 // the argument. 429 430 // Determine the wordsize from the preprocessor defines. 431 432 // Properties of long double type. ldbl-96 version. 433 // Copyright (C) 2016-2020 Free Software Foundation, Inc. 434 // This file is part of the GNU C Library. 435 // 436 // The GNU C Library is free software; you can redistribute it and/or 437 // modify it under the terms of the GNU Lesser General Public 438 // License published by the Free Software Foundation; either 439 // version 2.1 of the License, or (at your option) any later version. 440 // 441 // The GNU C Library is distributed in the hope that it will be useful, 442 // but WITHOUT ANY WARRANTY; without even the implied warranty of 443 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 444 // Lesser General Public License for more details. 445 // 446 // You should have received a copy of the GNU Lesser General Public 447 // License along with the GNU C Library; if not, see 448 // <https://www.gnu.org/licenses/>. 449 450 // long double is distinct from double, so there is nothing to 451 // define here. 452 453 // __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is 454 // intended for use in preprocessor macros. 455 // 456 // Note: MESSAGE must be a _single_ string; concatenation of string 457 // literals is not supported. 458 459 // Generic selection (ISO C11) is a C-only feature, available in GCC 460 // since version 4.9. Previous versions do not provide generic 461 // selection, even though they might set __STDC_VERSION__ to 201112L, 462 // when in -std=c11 mode. Thus, we must check for !defined __GNUC__ 463 // when testing __STDC_VERSION__ for generic selection support. 464 // On the other hand, Clang also defines __GNUC__, so a clang-specific 465 // check is required to enable the use of generic selection. 466 467 // If we don't have __REDIRECT, prototypes will be missing if 468 // __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. 469 470 // Decide whether we can define 'extern inline' functions in headers. 471 472 // This is here only because every header file already includes this one. 473 // Get the definitions of all the appropriate `__stub_FUNCTION' symbols. 474 // <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub 475 // that will always return failure (and set errno to ENOSYS). 476 // This file is automatically generated. 477 // This file selects the right generated file of `__stub_FUNCTION' macros 478 // based on the architecture being compiled for. 479 480 // This file is automatically generated. 481 // It defines a symbol `__stub_FUNCTION' for each function 482 // in the C library which is a stub, meaning it will fail 483 // every time called, usually setting errno to ENOSYS. 484 485 // bits/types.h -- definitions of __*_t types underlying *_t types. 486 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 487 // This file is part of the GNU C Library. 488 // 489 // The GNU C Library is free software; you can redistribute it and/or 490 // modify it under the terms of the GNU Lesser General Public 491 // License as published by the Free Software Foundation; either 492 // version 2.1 of the License, or (at your option) any later version. 493 // 494 // The GNU C Library is distributed in the hope that it will be useful, 495 // but WITHOUT ANY WARRANTY; without even the implied warranty of 496 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 497 // Lesser General Public License for more details. 498 // 499 // You should have received a copy of the GNU Lesser General Public 500 // License along with the GNU C Library; if not, see 501 // <https://www.gnu.org/licenses/>. 502 503 // Never include this file directly; use <sys/types.h> instead. 504 505 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 506 // This file is part of the GNU C Library. 507 // 508 // The GNU C Library is free software; you can redistribute it and/or 509 // modify it under the terms of the GNU Lesser General Public 510 // License as published by the Free Software Foundation; either 511 // version 2.1 of the License, or (at your option) any later version. 512 // 513 // The GNU C Library is distributed in the hope that it will be useful, 514 // but WITHOUT ANY WARRANTY; without even the implied warranty of 515 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 516 // Lesser General Public License for more details. 517 // 518 // You should have received a copy of the GNU Lesser General Public 519 // License along with the GNU C Library; if not, see 520 // <https://www.gnu.org/licenses/>. 521 522 // Determine the wordsize from the preprocessor defines. 523 524 // Bit size of the time_t type at glibc build time, x86-64 and x32 case. 525 // Copyright (C) 2018-2020 Free Software Foundation, Inc. 526 // This file is part of the GNU C Library. 527 // 528 // The GNU C Library is free software; you can redistribute it and/or 529 // modify it under the terms of the GNU Lesser General Public 530 // License as published by the Free Software Foundation; either 531 // version 2.1 of the License, or (at your option) any later version. 532 // 533 // The GNU C Library is distributed in the hope that it will be useful, 534 // but WITHOUT ANY WARRANTY; without even the implied warranty of 535 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 536 // Lesser General Public License for more details. 537 // 538 // You should have received a copy of the GNU Lesser General Public 539 // License along with the GNU C Library; if not, see 540 // <https://www.gnu.org/licenses/>. 541 542 // For others, time size is word size. 543 544 // Convenience types. 545 type X__u_char = uint8 /* types.h:31:23 */ 546 type X__u_short = uint16 /* types.h:32:28 */ 547 type X__u_int = uint32 /* types.h:33:22 */ 548 type X__u_long = uint32 /* types.h:34:27 */ 549 550 // Fixed-size types, underlying types depend on word size and compiler. 551 type X__int8_t = int8 /* types.h:37:21 */ 552 type X__uint8_t = uint8 /* types.h:38:23 */ 553 type X__int16_t = int16 /* types.h:39:26 */ 554 type X__uint16_t = uint16 /* types.h:40:28 */ 555 type X__int32_t = int32 /* types.h:41:20 */ 556 type X__uint32_t = uint32 /* types.h:42:22 */ 557 type X__int64_t = int64 /* types.h:47:44 */ 558 type X__uint64_t = uint64 /* types.h:48:46 */ 559 560 // Smallest types with at least a given width. 561 type X__int_least8_t = X__int8_t /* types.h:52:18 */ 562 type X__uint_least8_t = X__uint8_t /* types.h:53:19 */ 563 type X__int_least16_t = X__int16_t /* types.h:54:19 */ 564 type X__uint_least16_t = X__uint16_t /* types.h:55:20 */ 565 type X__int_least32_t = X__int32_t /* types.h:56:19 */ 566 type X__uint_least32_t = X__uint32_t /* types.h:57:20 */ 567 type X__int_least64_t = X__int64_t /* types.h:58:19 */ 568 type X__uint_least64_t = X__uint64_t /* types.h:59:20 */ 569 570 // quad_t is also 64 bits. 571 type X__quad_t = int64 /* types.h:66:37 */ 572 type X__u_quad_t = uint64 /* types.h:67:46 */ 573 574 // Largest integral types. 575 type X__intmax_t = int64 /* types.h:75:37 */ 576 type X__uintmax_t = uint64 /* types.h:76:46 */ 577 578 // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE 579 // macros for each of the OS types we define below. The definitions 580 // of those macros must use the following macros for underlying types. 581 // We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned 582 // variants of each of the following integer types on this machine. 583 // 584 // 16 -- "natural" 16-bit type (always short) 585 // 32 -- "natural" 32-bit type (always int) 586 // 64 -- "natural" 64-bit type (long or long long) 587 // LONG32 -- 32-bit type, traditionally long 588 // QUAD -- 64-bit type, traditionally long long 589 // WORD -- natural type of __WORDSIZE bits (int or long) 590 // LONGWORD -- type of __WORDSIZE bits, traditionally long 591 // 592 // We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the 593 // conventional uses of `long' or `long long' type modifiers match the 594 // types we define, even when a less-adorned type would be the same size. 595 // This matters for (somewhat) portably writing printf/scanf formats for 596 // these types, where using the appropriate l or ll format modifiers can 597 // make the typedefs and the formats match up across all GNU platforms. If 598 // we used `long' when it's 64 bits where `long long' is expected, then the 599 // compiler would warn about the formats not matching the argument types, 600 // and the programmer changing them to shut up the compiler would break the 601 // program's portability. 602 // 603 // Here we assume what is presently the case in all the GCC configurations 604 // we support: long long is always 64 bits, long is always word/address size, 605 // and int is always 32 bits. 606 607 // We want __extension__ before typedef's that use nonstandard base types 608 // such as `long long' in C89 mode. 609 // bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. 610 // Copyright (C) 2012-2020 Free Software Foundation, Inc. 611 // This file is part of the GNU C Library. 612 // 613 // The GNU C Library is free software; you can redistribute it and/or 614 // modify it under the terms of the GNU Lesser General Public 615 // License as published by the Free Software Foundation; either 616 // version 2.1 of the License, or (at your option) any later version. 617 // 618 // The GNU C Library is distributed in the hope that it will be useful, 619 // but WITHOUT ANY WARRANTY; without even the implied warranty of 620 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 621 // Lesser General Public License for more details. 622 // 623 // You should have received a copy of the GNU Lesser General Public 624 // License along with the GNU C Library; if not, see 625 // <https://www.gnu.org/licenses/>. 626 627 // See <bits/types.h> for the meaning of these macros. This file exists so 628 // that <bits/types.h> need not vary across different GNU platforms. 629 630 // X32 kernel interface is 64-bit. 631 632 // Number of descriptors that can fit in an `fd_set'. 633 634 // bits/time64.h -- underlying types for __time64_t. Generic version. 635 // Copyright (C) 2018-2020 Free Software Foundation, Inc. 636 // This file is part of the GNU C Library. 637 // 638 // The GNU C Library is free software; you can redistribute it and/or 639 // modify it under the terms of the GNU Lesser General Public 640 // License as published by the Free Software Foundation; either 641 // version 2.1 of the License, or (at your option) any later version. 642 // 643 // The GNU C Library is distributed in the hope that it will be useful, 644 // but WITHOUT ANY WARRANTY; without even the implied warranty of 645 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 646 // Lesser General Public License for more details. 647 // 648 // You should have received a copy of the GNU Lesser General Public 649 // License along with the GNU C Library; if not, see 650 // <https://www.gnu.org/licenses/>. 651 652 // Define __TIME64_T_TYPE so that it is always a 64-bit type. 653 654 // Define a 64-bit time type alongsize the 32-bit one. 655 656 type X__dev_t = X__uint64_t /* types.h:145:25 */ // Type of device numbers. 657 type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications. 658 type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications. 659 type X__ino_t = uint32 /* types.h:148:25 */ // Type of file serial numbers. 660 type X__ino64_t = X__uint64_t /* types.h:149:27 */ // Type of file serial numbers (LFS). 661 type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks. 662 type X__nlink_t = uint32 /* types.h:151:27 */ // Type of file link counts. 663 type X__off_t = int32 /* types.h:152:25 */ // Type of file sizes and offsets. 664 type X__off64_t = X__int64_t /* types.h:153:27 */ // Type of file sizes and offsets (LFS). 665 type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications. 666 type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs. 667 type X__clock_t = int32 /* types.h:156:27 */ // Type of CPU usage counts. 668 type X__rlim_t = uint32 /* types.h:157:26 */ // Type for resource measurement. 669 type X__rlim64_t = X__uint64_t /* types.h:158:28 */ // Type for resource measurement (LFS). 670 type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs. 671 type X__time_t = int32 /* types.h:160:26 */ // Seconds since the Epoch. 672 type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds. 673 type X__suseconds_t = int32 /* types.h:162:31 */ // Signed count of microseconds. 674 675 type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address. 676 type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key. 677 678 // Clock ID used in clock and timer functions. 679 type X__clockid_t = int32 /* types.h:168:29 */ 680 681 // Timer ID returned by `timer_create'. 682 type X__timer_t = uintptr /* types.h:171:12 */ 683 684 // Type to represent block size. 685 type X__blksize_t = int32 /* types.h:174:29 */ 686 687 // Types from the Large File Support interface. 688 689 // Type to count number of disk blocks. 690 type X__blkcnt_t = int32 /* types.h:179:28 */ 691 type X__blkcnt64_t = X__int64_t /* types.h:180:30 */ 692 693 // Type to count file system blocks. 694 type X__fsblkcnt_t = uint32 /* types.h:183:30 */ 695 type X__fsblkcnt64_t = X__uint64_t /* types.h:184:32 */ 696 697 // Type to count file system nodes. 698 type X__fsfilcnt_t = uint32 /* types.h:187:30 */ 699 type X__fsfilcnt64_t = X__uint64_t /* types.h:188:32 */ 700 701 // Type of miscellaneous file system fields. 702 type X__fsword_t = int32 /* types.h:191:28 */ 703 704 type X__ssize_t = int32 /* types.h:193:27 */ // Type of a byte count, or error. 705 706 // Signed long type used in system calls. 707 type X__syscall_slong_t = int32 /* types.h:196:33 */ 708 // Unsigned long type used in system calls. 709 type X__syscall_ulong_t = uint32 /* types.h:198:33 */ 710 711 // These few don't really vary by system, they always correspond 712 // 713 // to one of the other defined types. 714 type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS). 715 type X__caddr_t = uintptr /* types.h:203:14 */ 716 717 // Duplicates info from stdint.h but this is used in unistd.h. 718 type X__intptr_t = int32 /* types.h:206:25 */ 719 720 // Duplicate info from sys/socket.h. 721 type X__socklen_t = uint32 /* types.h:209:23 */ 722 723 // C99: An integer type that can be accessed as an atomic entity, 724 // 725 // even in the presence of asynchronous interrupts. 726 // It is not currently necessary for this to be machine-specific. 727 type X__sig_atomic_t = int32 /* types.h:214:13 */ 728 729 // Seconds since the Epoch, visible to user code when time_t is too 730 // 731 // narrow only for consistency with the old way of widening too-narrow 732 // types. User code should never use __time64_t. 733 type X__time64_t = X__int64_t /* types.h:222:28 */ 734 735 // bits/types.h -- definitions of __*_t types underlying *_t types. 736 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 737 // This file is part of the GNU C Library. 738 // 739 // The GNU C Library is free software; you can redistribute it and/or 740 // modify it under the terms of the GNU Lesser General Public 741 // License as published by the Free Software Foundation; either 742 // version 2.1 of the License, or (at your option) any later version. 743 // 744 // The GNU C Library is distributed in the hope that it will be useful, 745 // but WITHOUT ANY WARRANTY; without even the implied warranty of 746 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 747 // Lesser General Public License for more details. 748 // 749 // You should have received a copy of the GNU Lesser General Public 750 // License along with the GNU C Library; if not, see 751 // <https://www.gnu.org/licenses/>. 752 753 // Never include this file directly; use <sys/types.h> instead. 754 755 // Returned by `time'. 756 type Time_t = X__time_t /* time_t.h:7:18 */ 757 758 // Structure describing file times. 759 type Utimbuf = struct { 760 Factime X__time_t 761 Fmodtime X__time_t 762 } /* utime.h:36:1 */ 763 764 var _ int8 /* gen.c:2:13: */