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