modernc.org/libc@v1.24.1/unistd/unistd_linux_arm64.go (about)

     1  // Code generated by 'ccgo unistd/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 unistd/unistd_linux_arm64.go -pkgname unistd', DO NOT EDIT.
     2  
     3  package unistd
     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  	F_LOCK                             = 1
    19  	F_OK                               = 0
    20  	F_TEST                             = 3
    21  	F_TLOCK                            = 2
    22  	F_ULOCK                            = 0
    23  	L_INCR                             = 1
    24  	L_SET                              = 0
    25  	L_XTND                             = 2
    26  	R_OK                               = 4
    27  	SEEK_CUR                           = 1
    28  	SEEK_END                           = 2
    29  	SEEK_SET                           = 0
    30  	STDERR_FILENO                      = 2
    31  	STDIN_FILENO                       = 0
    32  	STDOUT_FILENO                      = 1
    33  	W_OK                               = 2
    34  	X_OK                               = 1
    35  	X_ATFILE_SOURCE                    = 1
    36  	X_BITS_POSIX_OPT_H                 = 1
    37  	X_BITS_TIME64_H                    = 1
    38  	X_BITS_TYPESIZES_H                 = 1
    39  	X_BITS_TYPES_H                     = 1
    40  	X_BSD_SIZE_T_                      = 0
    41  	X_BSD_SIZE_T_DEFINED_              = 0
    42  	X_DEFAULT_SOURCE                   = 1
    43  	X_FEATURES_H                       = 1
    44  	X_FILE_OFFSET_BITS                 = 64
    45  	X_GCC_SIZE_T                       = 0
    46  	X_GETOPT_CORE_H                    = 1
    47  	X_GETOPT_POSIX_H                   = 1
    48  	X_LFS64_ASYNCHRONOUS_IO            = 1
    49  	X_LFS64_LARGEFILE                  = 1
    50  	X_LFS64_STDIO                      = 1
    51  	X_LFS_ASYNCHRONOUS_IO              = 1
    52  	X_LFS_LARGEFILE                    = 1
    53  	X_LP64                             = 1
    54  	X_POSIX2_CHAR_TERM                 = 200809
    55  	X_POSIX2_C_BIND                    = 200809
    56  	X_POSIX2_C_DEV                     = 200809
    57  	X_POSIX2_C_VERSION                 = 200809
    58  	X_POSIX2_LOCALEDEF                 = 200809
    59  	X_POSIX2_SW_DEV                    = 200809
    60  	X_POSIX2_VERSION                   = 200809
    61  	X_POSIX_ADVISORY_INFO              = 200809
    62  	X_POSIX_ASYNCHRONOUS_IO            = 200809
    63  	X_POSIX_ASYNC_IO                   = 1
    64  	X_POSIX_BARRIERS                   = 200809
    65  	X_POSIX_CHOWN_RESTRICTED           = 0
    66  	X_POSIX_CLOCK_SELECTION            = 200809
    67  	X_POSIX_CPUTIME                    = 0
    68  	X_POSIX_C_SOURCE                   = 200809
    69  	X_POSIX_FSYNC                      = 200809
    70  	X_POSIX_IPV6                       = 200809
    71  	X_POSIX_JOB_CONTROL                = 1
    72  	X_POSIX_MAPPED_FILES               = 200809
    73  	X_POSIX_MEMLOCK                    = 200809
    74  	X_POSIX_MEMLOCK_RANGE              = 200809
    75  	X_POSIX_MEMORY_PROTECTION          = 200809
    76  	X_POSIX_MESSAGE_PASSING            = 200809
    77  	X_POSIX_MONOTONIC_CLOCK            = 0
    78  	X_POSIX_NO_TRUNC                   = 1
    79  	X_POSIX_PRIORITIZED_IO             = 200809
    80  	X_POSIX_PRIORITY_SCHEDULING        = 200809
    81  	X_POSIX_RAW_SOCKETS                = 200809
    82  	X_POSIX_READER_WRITER_LOCKS        = 200809
    83  	X_POSIX_REALTIME_SIGNALS           = 200809
    84  	X_POSIX_REENTRANT_FUNCTIONS        = 1
    85  	X_POSIX_REGEXP                     = 1
    86  	X_POSIX_SAVED_IDS                  = 1
    87  	X_POSIX_SEMAPHORES                 = 200809
    88  	X_POSIX_SHARED_MEMORY_OBJECTS      = 200809
    89  	X_POSIX_SHELL                      = 1
    90  	X_POSIX_SOURCE                     = 1
    91  	X_POSIX_SPAWN                      = 200809
    92  	X_POSIX_SPIN_LOCKS                 = 200809
    93  	X_POSIX_SPORADIC_SERVER            = -1
    94  	X_POSIX_SYNCHRONIZED_IO            = 200809
    95  	X_POSIX_THREADS                    = 200809
    96  	X_POSIX_THREAD_ATTR_STACKADDR      = 200809
    97  	X_POSIX_THREAD_ATTR_STACKSIZE      = 200809
    98  	X_POSIX_THREAD_CPUTIME             = 0
    99  	X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809
   100  	X_POSIX_THREAD_PRIO_INHERIT        = 200809
   101  	X_POSIX_THREAD_PRIO_PROTECT        = 200809
   102  	X_POSIX_THREAD_PROCESS_SHARED      = 200809
   103  	X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809
   104  	X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1
   105  	X_POSIX_THREAD_SAFE_FUNCTIONS      = 200809
   106  	X_POSIX_THREAD_SPORADIC_SERVER     = -1
   107  	X_POSIX_TIMEOUTS                   = 200809
   108  	X_POSIX_TIMERS                     = 200809
   109  	X_POSIX_TRACE                      = -1
   110  	X_POSIX_TRACE_EVENT_FILTER         = -1
   111  	X_POSIX_TRACE_INHERIT              = -1
   112  	X_POSIX_TRACE_LOG                  = -1
   113  	X_POSIX_TYPED_MEMORY_OBJECTS       = -1
   114  	X_POSIX_V6_ILP32_OFF32             = -1
   115  	X_POSIX_V6_ILP32_OFFBIG            = -1
   116  	X_POSIX_V6_LP64_OFF64              = 1
   117  	X_POSIX_V6_LPBIG_OFFBIG            = -1
   118  	X_POSIX_V7_ILP32_OFF32             = -1
   119  	X_POSIX_V7_ILP32_OFFBIG            = -1
   120  	X_POSIX_V7_LP64_OFF64              = 1
   121  	X_POSIX_V7_LPBIG_OFFBIG            = -1
   122  	X_POSIX_VDISABLE                   = 0
   123  	X_POSIX_VERSION                    = 200809
   124  	X_SIZET_                           = 0
   125  	X_SIZE_T                           = 0
   126  	X_SIZE_T_                          = 0
   127  	X_SIZE_T_DECLARED                  = 0
   128  	X_SIZE_T_DEFINED                   = 0
   129  	X_SIZE_T_DEFINED_                  = 0
   130  	X_STDC_PREDEF_H                    = 1
   131  	X_SYS_CDEFS_H                      = 1
   132  	X_SYS_SIZE_T_H                     = 0
   133  	X_T_SIZE                           = 0
   134  	X_T_SIZE_                          = 0
   135  	X_UNISTD_H                         = 1
   136  	X_XBS5_ILP32_OFF32                 = -1
   137  	X_XBS5_ILP32_OFFBIG                = -1
   138  	X_XBS5_LP64_OFF64                  = 1
   139  	X_XBS5_LPBIG_OFFBIG                = -1
   140  	X_XOPEN_ENH_I18N                   = 1
   141  	X_XOPEN_LEGACY                     = 1
   142  	X_XOPEN_REALTIME                   = 1
   143  	X_XOPEN_REALTIME_THREADS           = 1
   144  	X_XOPEN_SHM                        = 1
   145  	X_XOPEN_UNIX                       = 1
   146  	X_XOPEN_VERSION                    = 700
   147  	X_XOPEN_XCU_VERSION                = 4
   148  	X_XOPEN_XPG2                       = 1
   149  	X_XOPEN_XPG3                       = 1
   150  	X_XOPEN_XPG4                       = 1
   151  	Linux                              = 1
   152  	Unix                               = 1
   153  )
   154  
   155  // Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf';
   156  //    the `_SC_*' symbols for the NAME argument to `sysconf';
   157  //    and the `_CS_*' symbols for the NAME argument to `confstr'.
   158  // `sysconf', `pathconf', and `confstr' NAME values.  Generic version.
   159  //    Copyright (C) 1993-2020 Free Software Foundation, Inc.
   160  //    This file is part of the GNU C Library.
   161  //
   162  //    The GNU C Library is free software; you can redistribute it and/or
   163  //    modify it under the terms of the GNU Lesser General Public
   164  //    License as published by the Free Software Foundation; either
   165  //    version 2.1 of the License, or (at your option) any later version.
   166  //
   167  //    The GNU C Library is distributed in the hope that it will be useful,
   168  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   169  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   170  //    Lesser General Public License for more details.
   171  //
   172  //    You should have received a copy of the GNU Lesser General Public
   173  //    License along with the GNU C Library; if not, see
   174  //    <https://www.gnu.org/licenses/>.
   175  
   176  // Values for the NAME argument to `pathconf' and `fpathconf'.
   177  const ( /* confname.h:24:1: */
   178  	X_PC_LINK_MAX           = 0
   179  	X_PC_MAX_CANON          = 1
   180  	X_PC_MAX_INPUT          = 2
   181  	X_PC_NAME_MAX           = 3
   182  	X_PC_PATH_MAX           = 4
   183  	X_PC_PIPE_BUF           = 5
   184  	X_PC_CHOWN_RESTRICTED   = 6
   185  	X_PC_NO_TRUNC           = 7
   186  	X_PC_VDISABLE           = 8
   187  	X_PC_SYNC_IO            = 9
   188  	X_PC_ASYNC_IO           = 10
   189  	X_PC_PRIO_IO            = 11
   190  	X_PC_SOCK_MAXBUF        = 12
   191  	X_PC_FILESIZEBITS       = 13
   192  	X_PC_REC_INCR_XFER_SIZE = 14
   193  	X_PC_REC_MAX_XFER_SIZE  = 15
   194  	X_PC_REC_MIN_XFER_SIZE  = 16
   195  	X_PC_REC_XFER_ALIGN     = 17
   196  	X_PC_ALLOC_SIZE_MIN     = 18
   197  	X_PC_SYMLINK_MAX        = 19
   198  	X_PC_2_SYMLINKS         = 20
   199  )
   200  
   201  // Values for the NAME argument to `confstr'.
   202  const ( /* confname.h:533:1: */
   203  	X_CS_PATH = 0 // The default search path.
   204  
   205  	X_CS_V6_WIDTH_RESTRICTED_ENVS = 1
   206  
   207  	X_CS_GNU_LIBC_VERSION       = 2
   208  	X_CS_GNU_LIBPTHREAD_VERSION = 3
   209  
   210  	X_CS_V5_WIDTH_RESTRICTED_ENVS = 4
   211  
   212  	X_CS_V7_WIDTH_RESTRICTED_ENVS = 5
   213  
   214  	X_CS_LFS_CFLAGS      = 1000
   215  	X_CS_LFS_LDFLAGS     = 1001
   216  	X_CS_LFS_LIBS        = 1002
   217  	X_CS_LFS_LINTFLAGS   = 1003
   218  	X_CS_LFS64_CFLAGS    = 1004
   219  	X_CS_LFS64_LDFLAGS   = 1005
   220  	X_CS_LFS64_LIBS      = 1006
   221  	X_CS_LFS64_LINTFLAGS = 1007
   222  
   223  	X_CS_XBS5_ILP32_OFF32_CFLAGS     = 1100
   224  	X_CS_XBS5_ILP32_OFF32_LDFLAGS    = 1101
   225  	X_CS_XBS5_ILP32_OFF32_LIBS       = 1102
   226  	X_CS_XBS5_ILP32_OFF32_LINTFLAGS  = 1103
   227  	X_CS_XBS5_ILP32_OFFBIG_CFLAGS    = 1104
   228  	X_CS_XBS5_ILP32_OFFBIG_LDFLAGS   = 1105
   229  	X_CS_XBS5_ILP32_OFFBIG_LIBS      = 1106
   230  	X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107
   231  	X_CS_XBS5_LP64_OFF64_CFLAGS      = 1108
   232  	X_CS_XBS5_LP64_OFF64_LDFLAGS     = 1109
   233  	X_CS_XBS5_LP64_OFF64_LIBS        = 1110
   234  	X_CS_XBS5_LP64_OFF64_LINTFLAGS   = 1111
   235  	X_CS_XBS5_LPBIG_OFFBIG_CFLAGS    = 1112
   236  	X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS   = 1113
   237  	X_CS_XBS5_LPBIG_OFFBIG_LIBS      = 1114
   238  	X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115
   239  
   240  	X_CS_POSIX_V6_ILP32_OFF32_CFLAGS     = 1116
   241  	X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS    = 1117
   242  	X_CS_POSIX_V6_ILP32_OFF32_LIBS       = 1118
   243  	X_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS  = 1119
   244  	X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS    = 1120
   245  	X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS   = 1121
   246  	X_CS_POSIX_V6_ILP32_OFFBIG_LIBS      = 1122
   247  	X_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123
   248  	X_CS_POSIX_V6_LP64_OFF64_CFLAGS      = 1124
   249  	X_CS_POSIX_V6_LP64_OFF64_LDFLAGS     = 1125
   250  	X_CS_POSIX_V6_LP64_OFF64_LIBS        = 1126
   251  	X_CS_POSIX_V6_LP64_OFF64_LINTFLAGS   = 1127
   252  	X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS    = 1128
   253  	X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS   = 1129
   254  	X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS      = 1130
   255  	X_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131
   256  
   257  	X_CS_POSIX_V7_ILP32_OFF32_CFLAGS     = 1132
   258  	X_CS_POSIX_V7_ILP32_OFF32_LDFLAGS    = 1133
   259  	X_CS_POSIX_V7_ILP32_OFF32_LIBS       = 1134
   260  	X_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS  = 1135
   261  	X_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS    = 1136
   262  	X_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS   = 1137
   263  	X_CS_POSIX_V7_ILP32_OFFBIG_LIBS      = 1138
   264  	X_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139
   265  	X_CS_POSIX_V7_LP64_OFF64_CFLAGS      = 1140
   266  	X_CS_POSIX_V7_LP64_OFF64_LDFLAGS     = 1141
   267  	X_CS_POSIX_V7_LP64_OFF64_LIBS        = 1142
   268  	X_CS_POSIX_V7_LP64_OFF64_LINTFLAGS   = 1143
   269  	X_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS    = 1144
   270  	X_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS   = 1145
   271  	X_CS_POSIX_V7_LPBIG_OFFBIG_LIBS      = 1146
   272  	X_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147
   273  
   274  	X_CS_V6_ENV = 1148
   275  	X_CS_V7_ENV = 1149
   276  )
   277  
   278  // Values for the argument to `sysconf'.
   279  const ( /* confname.h:71:1: */
   280  	X_SC_ARG_MAX               = 0
   281  	X_SC_CHILD_MAX             = 1
   282  	X_SC_CLK_TCK               = 2
   283  	X_SC_NGROUPS_MAX           = 3
   284  	X_SC_OPEN_MAX              = 4
   285  	X_SC_STREAM_MAX            = 5
   286  	X_SC_TZNAME_MAX            = 6
   287  	X_SC_JOB_CONTROL           = 7
   288  	X_SC_SAVED_IDS             = 8
   289  	X_SC_REALTIME_SIGNALS      = 9
   290  	X_SC_PRIORITY_SCHEDULING   = 10
   291  	X_SC_TIMERS                = 11
   292  	X_SC_ASYNCHRONOUS_IO       = 12
   293  	X_SC_PRIORITIZED_IO        = 13
   294  	X_SC_SYNCHRONIZED_IO       = 14
   295  	X_SC_FSYNC                 = 15
   296  	X_SC_MAPPED_FILES          = 16
   297  	X_SC_MEMLOCK               = 17
   298  	X_SC_MEMLOCK_RANGE         = 18
   299  	X_SC_MEMORY_PROTECTION     = 19
   300  	X_SC_MESSAGE_PASSING       = 20
   301  	X_SC_SEMAPHORES            = 21
   302  	X_SC_SHARED_MEMORY_OBJECTS = 22
   303  	X_SC_AIO_LISTIO_MAX        = 23
   304  	X_SC_AIO_MAX               = 24
   305  	X_SC_AIO_PRIO_DELTA_MAX    = 25
   306  	X_SC_DELAYTIMER_MAX        = 26
   307  	X_SC_MQ_OPEN_MAX           = 27
   308  	X_SC_MQ_PRIO_MAX           = 28
   309  	X_SC_VERSION               = 29
   310  	X_SC_PAGESIZE              = 30
   311  	X_SC_RTSIG_MAX             = 31
   312  	X_SC_SEM_NSEMS_MAX         = 32
   313  	X_SC_SEM_VALUE_MAX         = 33
   314  	X_SC_SIGQUEUE_MAX          = 34
   315  	X_SC_TIMER_MAX             = 35
   316  
   317  	// Values for the argument to `sysconf'
   318  	//        corresponding to _POSIX2_* symbols.
   319  	X_SC_BC_BASE_MAX        = 36
   320  	X_SC_BC_DIM_MAX         = 37
   321  	X_SC_BC_SCALE_MAX       = 38
   322  	X_SC_BC_STRING_MAX      = 39
   323  	X_SC_COLL_WEIGHTS_MAX   = 40
   324  	X_SC_EQUIV_CLASS_MAX    = 41
   325  	X_SC_EXPR_NEST_MAX      = 42
   326  	X_SC_LINE_MAX           = 43
   327  	X_SC_RE_DUP_MAX         = 44
   328  	X_SC_CHARCLASS_NAME_MAX = 45
   329  
   330  	X_SC_2_VERSION   = 46
   331  	X_SC_2_C_BIND    = 47
   332  	X_SC_2_C_DEV     = 48
   333  	X_SC_2_FORT_DEV  = 49
   334  	X_SC_2_FORT_RUN  = 50
   335  	X_SC_2_SW_DEV    = 51
   336  	X_SC_2_LOCALEDEF = 52
   337  
   338  	X_SC_PII                 = 53
   339  	X_SC_PII_XTI             = 54
   340  	X_SC_PII_SOCKET          = 55
   341  	X_SC_PII_INTERNET        = 56
   342  	X_SC_PII_OSI             = 57
   343  	X_SC_POLL                = 58
   344  	X_SC_SELECT              = 59
   345  	X_SC_UIO_MAXIOV          = 60
   346  	X_SC_IOV_MAX             = 60
   347  	X_SC_PII_INTERNET_STREAM = 61
   348  	X_SC_PII_INTERNET_DGRAM  = 62
   349  	X_SC_PII_OSI_COTS        = 63
   350  	X_SC_PII_OSI_CLTS        = 64
   351  	X_SC_PII_OSI_M           = 65
   352  	X_SC_T_IOV_MAX           = 66
   353  
   354  	// Values according to POSIX 1003.1c (POSIX threads).
   355  	X_SC_THREADS                      = 67
   356  	X_SC_THREAD_SAFE_FUNCTIONS        = 68
   357  	X_SC_GETGR_R_SIZE_MAX             = 69
   358  	X_SC_GETPW_R_SIZE_MAX             = 70
   359  	X_SC_LOGIN_NAME_MAX               = 71
   360  	X_SC_TTY_NAME_MAX                 = 72
   361  	X_SC_THREAD_DESTRUCTOR_ITERATIONS = 73
   362  	X_SC_THREAD_KEYS_MAX              = 74
   363  	X_SC_THREAD_STACK_MIN             = 75
   364  	X_SC_THREAD_THREADS_MAX           = 76
   365  	X_SC_THREAD_ATTR_STACKADDR        = 77
   366  	X_SC_THREAD_ATTR_STACKSIZE        = 78
   367  	X_SC_THREAD_PRIORITY_SCHEDULING   = 79
   368  	X_SC_THREAD_PRIO_INHERIT          = 80
   369  	X_SC_THREAD_PRIO_PROTECT          = 81
   370  	X_SC_THREAD_PROCESS_SHARED        = 82
   371  
   372  	X_SC_NPROCESSORS_CONF = 83
   373  	X_SC_NPROCESSORS_ONLN = 84
   374  	X_SC_PHYS_PAGES       = 85
   375  	X_SC_AVPHYS_PAGES     = 86
   376  	X_SC_ATEXIT_MAX       = 87
   377  	X_SC_PASS_MAX         = 88
   378  
   379  	X_SC_XOPEN_VERSION     = 89
   380  	X_SC_XOPEN_XCU_VERSION = 90
   381  	X_SC_XOPEN_UNIX        = 91
   382  	X_SC_XOPEN_CRYPT       = 92
   383  	X_SC_XOPEN_ENH_I18N    = 93
   384  	X_SC_XOPEN_SHM         = 94
   385  
   386  	X_SC_2_CHAR_TERM = 95
   387  	X_SC_2_C_VERSION = 96
   388  	X_SC_2_UPE       = 97
   389  
   390  	X_SC_XOPEN_XPG2 = 98
   391  	X_SC_XOPEN_XPG3 = 99
   392  	X_SC_XOPEN_XPG4 = 100
   393  
   394  	X_SC_CHAR_BIT   = 101
   395  	X_SC_CHAR_MAX   = 102
   396  	X_SC_CHAR_MIN   = 103
   397  	X_SC_INT_MAX    = 104
   398  	X_SC_INT_MIN    = 105
   399  	X_SC_LONG_BIT   = 106
   400  	X_SC_WORD_BIT   = 107
   401  	X_SC_MB_LEN_MAX = 108
   402  	X_SC_NZERO      = 109
   403  	X_SC_SSIZE_MAX  = 110
   404  	X_SC_SCHAR_MAX  = 111
   405  	X_SC_SCHAR_MIN  = 112
   406  	X_SC_SHRT_MAX   = 113
   407  	X_SC_SHRT_MIN   = 114
   408  	X_SC_UCHAR_MAX  = 115
   409  	X_SC_UINT_MAX   = 116
   410  	X_SC_ULONG_MAX  = 117
   411  	X_SC_USHRT_MAX  = 118
   412  
   413  	X_SC_NL_ARGMAX  = 119
   414  	X_SC_NL_LANGMAX = 120
   415  	X_SC_NL_MSGMAX  = 121
   416  	X_SC_NL_NMAX    = 122
   417  	X_SC_NL_SETMAX  = 123
   418  	X_SC_NL_TEXTMAX = 124
   419  
   420  	X_SC_XBS5_ILP32_OFF32  = 125
   421  	X_SC_XBS5_ILP32_OFFBIG = 126
   422  	X_SC_XBS5_LP64_OFF64   = 127
   423  	X_SC_XBS5_LPBIG_OFFBIG = 128
   424  
   425  	X_SC_XOPEN_LEGACY           = 129
   426  	X_SC_XOPEN_REALTIME         = 130
   427  	X_SC_XOPEN_REALTIME_THREADS = 131
   428  
   429  	X_SC_ADVISORY_INFO          = 132
   430  	X_SC_BARRIERS               = 133
   431  	X_SC_BASE                   = 134
   432  	X_SC_C_LANG_SUPPORT         = 135
   433  	X_SC_C_LANG_SUPPORT_R       = 136
   434  	X_SC_CLOCK_SELECTION        = 137
   435  	X_SC_CPUTIME                = 138
   436  	X_SC_THREAD_CPUTIME         = 139
   437  	X_SC_DEVICE_IO              = 140
   438  	X_SC_DEVICE_SPECIFIC        = 141
   439  	X_SC_DEVICE_SPECIFIC_R      = 142
   440  	X_SC_FD_MGMT                = 143
   441  	X_SC_FIFO                   = 144
   442  	X_SC_PIPE                   = 145
   443  	X_SC_FILE_ATTRIBUTES        = 146
   444  	X_SC_FILE_LOCKING           = 147
   445  	X_SC_FILE_SYSTEM            = 148
   446  	X_SC_MONOTONIC_CLOCK        = 149
   447  	X_SC_MULTI_PROCESS          = 150
   448  	X_SC_SINGLE_PROCESS         = 151
   449  	X_SC_NETWORKING             = 152
   450  	X_SC_READER_WRITER_LOCKS    = 153
   451  	X_SC_SPIN_LOCKS             = 154
   452  	X_SC_REGEXP                 = 155
   453  	X_SC_REGEX_VERSION          = 156
   454  	X_SC_SHELL                  = 157
   455  	X_SC_SIGNALS                = 158
   456  	X_SC_SPAWN                  = 159
   457  	X_SC_SPORADIC_SERVER        = 160
   458  	X_SC_THREAD_SPORADIC_SERVER = 161
   459  	X_SC_SYSTEM_DATABASE        = 162
   460  	X_SC_SYSTEM_DATABASE_R      = 163
   461  	X_SC_TIMEOUTS               = 164
   462  	X_SC_TYPED_MEMORY_OBJECTS   = 165
   463  	X_SC_USER_GROUPS            = 166
   464  	X_SC_USER_GROUPS_R          = 167
   465  	X_SC_2_PBS                  = 168
   466  	X_SC_2_PBS_ACCOUNTING       = 169
   467  	X_SC_2_PBS_LOCATE           = 170
   468  	X_SC_2_PBS_MESSAGE          = 171
   469  	X_SC_2_PBS_TRACK            = 172
   470  	X_SC_SYMLOOP_MAX            = 173
   471  	X_SC_STREAMS                = 174
   472  	X_SC_2_PBS_CHECKPOINT       = 175
   473  
   474  	X_SC_V6_ILP32_OFF32  = 176
   475  	X_SC_V6_ILP32_OFFBIG = 177
   476  	X_SC_V6_LP64_OFF64   = 178
   477  	X_SC_V6_LPBIG_OFFBIG = 179
   478  
   479  	X_SC_HOST_NAME_MAX      = 180
   480  	X_SC_TRACE              = 181
   481  	X_SC_TRACE_EVENT_FILTER = 182
   482  	X_SC_TRACE_INHERIT      = 183
   483  	X_SC_TRACE_LOG          = 184
   484  
   485  	X_SC_LEVEL1_ICACHE_SIZE     = 185
   486  	X_SC_LEVEL1_ICACHE_ASSOC    = 186
   487  	X_SC_LEVEL1_ICACHE_LINESIZE = 187
   488  	X_SC_LEVEL1_DCACHE_SIZE     = 188
   489  	X_SC_LEVEL1_DCACHE_ASSOC    = 189
   490  	X_SC_LEVEL1_DCACHE_LINESIZE = 190
   491  	X_SC_LEVEL2_CACHE_SIZE      = 191
   492  	X_SC_LEVEL2_CACHE_ASSOC     = 192
   493  	X_SC_LEVEL2_CACHE_LINESIZE  = 193
   494  	X_SC_LEVEL3_CACHE_SIZE      = 194
   495  	X_SC_LEVEL3_CACHE_ASSOC     = 195
   496  	X_SC_LEVEL3_CACHE_LINESIZE  = 196
   497  	X_SC_LEVEL4_CACHE_SIZE      = 197
   498  	X_SC_LEVEL4_CACHE_ASSOC     = 198
   499  	X_SC_LEVEL4_CACHE_LINESIZE  = 199
   500  	// Leave room here, maybe we need a few more cache levels some day.
   501  
   502  	X_SC_IPV6        = 235
   503  	X_SC_RAW_SOCKETS = 236
   504  
   505  	X_SC_V7_ILP32_OFF32  = 237
   506  	X_SC_V7_ILP32_OFFBIG = 238
   507  	X_SC_V7_LP64_OFF64   = 239
   508  	X_SC_V7_LPBIG_OFFBIG = 240
   509  
   510  	X_SC_SS_REPL_MAX = 241
   511  
   512  	X_SC_TRACE_EVENT_NAME_MAX = 242
   513  	X_SC_TRACE_NAME_MAX       = 243
   514  	X_SC_TRACE_SYS_MAX        = 244
   515  	X_SC_TRACE_USER_EVENT_MAX = 245
   516  
   517  	X_SC_XOPEN_STREAMS = 246
   518  
   519  	X_SC_THREAD_ROBUST_PRIO_INHERIT = 247
   520  	X_SC_THREAD_ROBUST_PRIO_PROTECT = 248
   521  )
   522  
   523  type Ptrdiff_t = int64 /* <builtin>:3:26 */
   524  
   525  type Size_t = uint64 /* <builtin>:9:23 */
   526  
   527  type Wchar_t = uint32 /* <builtin>:15:24 */
   528  
   529  type X__int128_t = struct {
   530  	Flo int64
   531  	Fhi int64
   532  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
   533  type X__uint128_t = struct {
   534  	Flo uint64
   535  	Fhi uint64
   536  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
   537  
   538  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   539  type X__float128 = float64        /* <builtin>:47:21 */
   540  
   541  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
   542  //    This file is part of the GNU C Library.
   543  //
   544  //    The GNU C Library is free software; you can redistribute it and/or
   545  //    modify it under the terms of the GNU Lesser General Public
   546  //    License as published by the Free Software Foundation; either
   547  //    version 2.1 of the License, or (at your option) any later version.
   548  //
   549  //    The GNU C Library is distributed in the hope that it will be useful,
   550  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   551  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   552  //    Lesser General Public License for more details.
   553  //
   554  //    You should have received a copy of the GNU Lesser General Public
   555  //    License along with the GNU C Library; if not, see
   556  //    <https://www.gnu.org/licenses/>.
   557  
   558  //	POSIX Standard: 2.10 Symbolic Constants		<unistd.h>
   559  
   560  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
   561  //    This file is part of the GNU C Library.
   562  //
   563  //    The GNU C Library is free software; you can redistribute it and/or
   564  //    modify it under the terms of the GNU Lesser General Public
   565  //    License as published by the Free Software Foundation; either
   566  //    version 2.1 of the License, or (at your option) any later version.
   567  //
   568  //    The GNU C Library is distributed in the hope that it will be useful,
   569  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   570  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   571  //    Lesser General Public License for more details.
   572  //
   573  //    You should have received a copy of the GNU Lesser General Public
   574  //    License along with the GNU C Library; if not, see
   575  //    <https://www.gnu.org/licenses/>.
   576  
   577  // These are defined by the user (or the compiler)
   578  //    to specify the desired environment:
   579  //
   580  //    __STRICT_ANSI__	ISO Standard C.
   581  //    _ISOC99_SOURCE	Extensions to ISO C89 from ISO C99.
   582  //    _ISOC11_SOURCE	Extensions to ISO C99 from ISO C11.
   583  //    _ISOC2X_SOURCE	Extensions to ISO C99 from ISO C2X.
   584  //    __STDC_WANT_LIB_EXT2__
   585  // 			Extensions to ISO C99 from TR 27431-2:2010.
   586  //    __STDC_WANT_IEC_60559_BFP_EXT__
   587  // 			Extensions to ISO C11 from TS 18661-1:2014.
   588  //    __STDC_WANT_IEC_60559_FUNCS_EXT__
   589  // 			Extensions to ISO C11 from TS 18661-4:2015.
   590  //    __STDC_WANT_IEC_60559_TYPES_EXT__
   591  // 			Extensions to ISO C11 from TS 18661-3:2015.
   592  //
   593  //    _POSIX_SOURCE	IEEE Std 1003.1.
   594  //    _POSIX_C_SOURCE	If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
   595  // 			if >=199309L, add IEEE Std 1003.1b-1993;
   596  // 			if >=199506L, add IEEE Std 1003.1c-1995;
   597  // 			if >=200112L, all of IEEE 1003.1-2004
   598  // 			if >=200809L, all of IEEE 1003.1-2008
   599  //    _XOPEN_SOURCE	Includes POSIX and XPG things.  Set to 500 if
   600  // 			Single Unix conformance is wanted, to 600 for the
   601  // 			sixth revision, to 700 for the seventh revision.
   602  //    _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
   603  //    _LARGEFILE_SOURCE	Some more functions for correct standard I/O.
   604  //    _LARGEFILE64_SOURCE	Additional functionality from LFS for large files.
   605  //    _FILE_OFFSET_BITS=N	Select default filesystem interface.
   606  //    _ATFILE_SOURCE	Additional *at interfaces.
   607  //    _GNU_SOURCE		All of the above, plus GNU extensions.
   608  //    _DEFAULT_SOURCE	The default set of features (taking precedence over
   609  // 			__STRICT_ANSI__).
   610  //
   611  //    _FORTIFY_SOURCE	Add security hardening to many library functions.
   612  // 			Set to 1 or 2; 2 performs stricter checks than 1.
   613  //
   614  //    _REENTRANT, _THREAD_SAFE
   615  // 			Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
   616  //
   617  //    The `-ansi' switch to the GNU C compiler, and standards conformance
   618  //    options such as `-std=c99', define __STRICT_ANSI__.  If none of
   619  //    these are defined, or if _DEFAULT_SOURCE is defined, the default is
   620  //    to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
   621  //    200809L, as well as enabling miscellaneous functions from BSD and
   622  //    SVID.  If more than one of these are defined, they accumulate.  For
   623  //    example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
   624  //    give you ISO C, 1003.1, and 1003.2, but nothing else.
   625  //
   626  //    These are defined by this file and are used by the
   627  //    header files to decide what to declare or define:
   628  //
   629  //    __GLIBC_USE (F)	Define things from feature set F.  This is defined
   630  // 			to 1 or 0; the subsequent macros are either defined
   631  // 			or undefined, and those tests should be moved to
   632  // 			__GLIBC_USE.
   633  //    __USE_ISOC11		Define ISO C11 things.
   634  //    __USE_ISOC99		Define ISO C99 things.
   635  //    __USE_ISOC95		Define ISO C90 AMD1 (C95) things.
   636  //    __USE_ISOCXX11	Define ISO C++11 things.
   637  //    __USE_POSIX		Define IEEE Std 1003.1 things.
   638  //    __USE_POSIX2		Define IEEE Std 1003.2 things.
   639  //    __USE_POSIX199309	Define IEEE Std 1003.1, and .1b things.
   640  //    __USE_POSIX199506	Define IEEE Std 1003.1, .1b, .1c and .1i things.
   641  //    __USE_XOPEN		Define XPG things.
   642  //    __USE_XOPEN_EXTENDED	Define X/Open Unix things.
   643  //    __USE_UNIX98		Define Single Unix V2 things.
   644  //    __USE_XOPEN2K        Define XPG6 things.
   645  //    __USE_XOPEN2KXSI     Define XPG6 XSI things.
   646  //    __USE_XOPEN2K8       Define XPG7 things.
   647  //    __USE_XOPEN2K8XSI    Define XPG7 XSI things.
   648  //    __USE_LARGEFILE	Define correct standard I/O things.
   649  //    __USE_LARGEFILE64	Define LFS things with separate names.
   650  //    __USE_FILE_OFFSET64	Define 64bit interface as default.
   651  //    __USE_MISC		Define things from 4.3BSD or System V Unix.
   652  //    __USE_ATFILE		Define *at interfaces and AT_* constants for them.
   653  //    __USE_GNU		Define GNU extensions.
   654  //    __USE_FORTIFY_LEVEL	Additional security measures used, according to level.
   655  //
   656  //    The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
   657  //    defined by this file unconditionally.  `__GNU_LIBRARY__' is provided
   658  //    only for compatibility.  All new code should use the other symbols
   659  //    to test for features.
   660  //
   661  //    All macros listed above as possibly being defined by this file are
   662  //    explicitly undefined if they are not explicitly defined.
   663  //    Feature-test macros that are not defined by the user or compiler
   664  //    but are implied by the other feature-test macros defined (or by the
   665  //    lack of any definitions) are defined by the file.
   666  //
   667  //    ISO C feature test macros depend on the definition of the macro
   668  //    when an affected header is included, not when the first system
   669  //    header is included, and so they are handled in
   670  //    <bits/libc-header-start.h>, which does not have a multiple include
   671  //    guard.  Feature test macros that can be handled from the first
   672  //    system header included are handled here.
   673  
   674  // Undefine everything, so we get a clean slate.
   675  
   676  // Suppress kernel-name space pollution unless user expressedly asks
   677  //    for it.
   678  
   679  // Convenience macro to test the version of gcc.
   680  //    Use like this:
   681  //    #if __GNUC_PREREQ (2,8)
   682  //    ... code requiring gcc 2.8 or later ...
   683  //    #endif
   684  //    Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
   685  //    added in 2.0.
   686  
   687  // Similarly for clang.  Features added to GCC after version 4.2 may
   688  //    or may not also be available in clang, and clang's definitions of
   689  //    __GNUC(_MINOR)__ are fixed at 4 and 2 respectively.  Not all such
   690  //    features can be queried via __has_extension/__has_feature.
   691  
   692  // Whether to use feature set F.
   693  
   694  // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
   695  //    _DEFAULT_SOURCE.  If _DEFAULT_SOURCE is present we do not
   696  //    issue a warning; the expectation is that the source is being
   697  //    transitioned to use the new macro.
   698  
   699  // If _GNU_SOURCE was defined by the user, turn on all the other features.
   700  
   701  // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
   702  //    define _DEFAULT_SOURCE.
   703  
   704  // This is to enable the ISO C2X extension.
   705  
   706  // This is to enable the ISO C11 extension.
   707  
   708  // This is to enable the ISO C99 extension.
   709  
   710  // This is to enable the ISO C90 Amendment 1:1995 extension.
   711  
   712  // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
   713  //    is defined, use POSIX.1-2008 (or another version depending on
   714  //    _XOPEN_SOURCE).
   715  
   716  // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
   717  //    defined in all multithreaded code.  GNU libc has not required this
   718  //    for many years.  We now treat them as compatibility synonyms for
   719  //    _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
   720  //    comprehensive support for multithreaded code.  Using them never
   721  //    lowers the selected level of POSIX conformance, only raises it.
   722  
   723  // The function 'gets' existed in C89, but is impossible to use
   724  //    safely.  It has been removed from ISO C11 and ISO C++14.  Note: for
   725  //    compatibility with various implementations of <cstdio>, this test
   726  //    must consider only the value of __cplusplus when compiling C++.
   727  
   728  // GNU formerly extended the scanf functions with modified format
   729  //    specifiers %as, %aS, and %a[...] that allocate a buffer for the
   730  //    input using malloc.  This extension conflicts with ISO C99, which
   731  //    defines %a as a standalone format specifier that reads a floating-
   732  //    point number; moreover, POSIX.1-2008 provides the same feature
   733  //    using the modifier letter 'm' instead (%ms, %mS, %m[...]).
   734  //
   735  //    We now follow C99 unless GNU extensions are active and the compiler
   736  //    is specifically in C89 or C++98 mode (strict or not).  For
   737  //    instance, with GCC, -std=gnu11 will have C99-compliant scanf with
   738  //    or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
   739  //    old extension.
   740  
   741  // Get definitions of __STDC_* predefined macros, if the compiler has
   742  //    not preincluded this header automatically.
   743  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
   744  //    This file is part of the GNU C Library.
   745  //
   746  //    The GNU C Library is free software; you can redistribute it and/or
   747  //    modify it under the terms of the GNU Lesser General Public
   748  //    License as published by the Free Software Foundation; either
   749  //    version 2.1 of the License, or (at your option) any later version.
   750  //
   751  //    The GNU C Library is distributed in the hope that it will be useful,
   752  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   753  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   754  //    Lesser General Public License for more details.
   755  //
   756  //    You should have received a copy of the GNU Lesser General Public
   757  //    License along with the GNU C Library; if not, see
   758  //    <https://www.gnu.org/licenses/>.
   759  
   760  // This macro indicates that the installed library is the GNU C Library.
   761  //    For historic reasons the value now is 6 and this will stay from now
   762  //    on.  The use of this variable is deprecated.  Use __GLIBC__ and
   763  //    __GLIBC_MINOR__ now (see below) when you want to test for a specific
   764  //    GNU C library version and use the values in <gnu/lib-names.h> to get
   765  //    the sonames of the shared libraries.
   766  
   767  // Major and minor version number of the GNU C library package.  Use
   768  //    these macros to test for features in specific releases.
   769  
   770  // This is here only because every header file already includes this one.
   771  // Copyright (C) 1992-2020 Free Software Foundation, Inc.
   772  //    This file is part of the GNU C Library.
   773  //
   774  //    The GNU C Library is free software; you can redistribute it and/or
   775  //    modify it under the terms of the GNU Lesser General Public
   776  //    License as published by the Free Software Foundation; either
   777  //    version 2.1 of the License, or (at your option) any later version.
   778  //
   779  //    The GNU C Library is distributed in the hope that it will be useful,
   780  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   781  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   782  //    Lesser General Public License for more details.
   783  //
   784  //    You should have received a copy of the GNU Lesser General Public
   785  //    License along with the GNU C Library; if not, see
   786  //    <https://www.gnu.org/licenses/>.
   787  
   788  // We are almost always included from features.h.
   789  
   790  // The GNU libc does not support any K&R compilers or the traditional mode
   791  //    of ISO C compilers anymore.  Check for some of the combinations not
   792  //    anymore supported.
   793  
   794  // Some user header file might have defined this before.
   795  
   796  // All functions, except those with callbacks or those that
   797  //    synchronize memory, are leaf functions.
   798  
   799  // GCC can always grok prototypes.  For C++ programs we add throw()
   800  //    to help it optimize the function calls.  But this works only with
   801  //    gcc 2.8.x and egcs.  For gcc 3.2 and up we even mark C functions
   802  //    as non-throwing using a function attribute since programs can use
   803  //    the -fexceptions options for C code as well.
   804  
   805  // Compilers that are not clang may object to
   806  //        #if defined __clang__ && __has_extension(...)
   807  //    even though they do not need to evaluate the right-hand side of the &&.
   808  
   809  // These two macros are not used in glibc anymore.  They are kept here
   810  //    only because some other projects expect the macros to be defined.
   811  
   812  // For these things, GCC behaves the ANSI way normally,
   813  //    and the non-ANSI way under -traditional.
   814  
   815  // This is not a typedef so `const __ptr_t' does the right thing.
   816  
   817  // C++ needs to know that types and declarations are C, not C++.
   818  
   819  // Fortify support.
   820  
   821  // Support for flexible arrays.
   822  //    Headers that should use flexible arrays only if they're "real"
   823  //    (e.g. only if they won't affect sizeof()) should test
   824  //    #if __glibc_c99_flexarr_available.
   825  
   826  // __asm__ ("xyz") is used throughout the headers to rename functions
   827  //    at the assembly language level.  This is wrapped by the __REDIRECT
   828  //    macro, in order to support compilers that can do this some other
   829  //    way.  When compilers don't support asm-names at all, we have to do
   830  //    preprocessor tricks instead (which don't have exactly the right
   831  //    semantics, but it's the best we can do).
   832  //
   833  //    Example:
   834  //    int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid);
   835  
   836  //
   837  // #elif __SOME_OTHER_COMPILER__
   838  //
   839  // # define __REDIRECT(name, proto, alias) name proto; 	_Pragma("let " #name " = " #alias)
   840  
   841  // GCC has various useful declarations that can be made with the
   842  //    `__attribute__' syntax.  All of the ways we use this do fine if
   843  //    they are omitted for compilers that don't understand it.
   844  
   845  // At some point during the gcc 2.96 development the `malloc' attribute
   846  //    for functions was introduced.  We don't want to use it unconditionally
   847  //    (although this would be possible) since it generates warnings.
   848  
   849  // Tell the compiler which arguments to an allocation function
   850  //    indicate the size of the allocation.
   851  
   852  // At some point during the gcc 2.96 development the `pure' attribute
   853  //    for functions was introduced.  We don't want to use it unconditionally
   854  //    (although this would be possible) since it generates warnings.
   855  
   856  // This declaration tells the compiler that the value is constant.
   857  
   858  // At some point during the gcc 3.1 development the `used' attribute
   859  //    for functions was introduced.  We don't want to use it unconditionally
   860  //    (although this would be possible) since it generates warnings.
   861  
   862  // Since version 3.2, gcc allows marking deprecated functions.
   863  
   864  // Since version 4.5, gcc also allows one to specify the message printed
   865  //    when a deprecated function is used.  clang claims to be gcc 4.2, but
   866  //    may also support this feature.
   867  
   868  // At some point during the gcc 2.8 development the `format_arg' attribute
   869  //    for functions was introduced.  We don't want to use it unconditionally
   870  //    (although this would be possible) since it generates warnings.
   871  //    If several `format_arg' attributes are given for the same function, in
   872  //    gcc-3.0 and older, all but the last one are ignored.  In newer gccs,
   873  //    all designated arguments are considered.
   874  
   875  // At some point during the gcc 2.97 development the `strfmon' format
   876  //    attribute for functions was introduced.  We don't want to use it
   877  //    unconditionally (although this would be possible) since it
   878  //    generates warnings.
   879  
   880  // The nonull function attribute allows to mark pointer parameters which
   881  //    must not be NULL.
   882  
   883  // If fortification mode, we warn about unused results of certain
   884  //    function calls which can lead to problems.
   885  
   886  // Forces a function to be always inlined.
   887  // The Linux kernel defines __always_inline in stddef.h (283d7573), and
   888  //    it conflicts with this definition.  Therefore undefine it first to
   889  //    allow either header to be included first.
   890  
   891  // Associate error messages with the source location of the call site rather
   892  //    than with the source location inside the function.
   893  
   894  // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
   895  //    inline semantics, unless -fgnu89-inline is used.  Using __GNUC_STDC_INLINE__
   896  //    or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
   897  //    older than 4.3 may define these macros and still not guarantee GNU inlining
   898  //    semantics.
   899  //
   900  //    clang++ identifies itself as gcc-4.2, but has support for GNU inlining
   901  //    semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
   902  //    __GNUC_GNU_INLINE__ macro definitions.
   903  
   904  // GCC 4.3 and above allow passing all anonymous arguments of an
   905  //    __extern_always_inline function to some other vararg function.
   906  
   907  // It is possible to compile containing GCC extensions even if GCC is
   908  //    run in pedantic mode if the uses are carefully marked using the
   909  //    `__extension__' keyword.  But this is not generally available before
   910  //    version 2.8.
   911  
   912  // __restrict is known in EGCS 1.2 and above.
   913  
   914  // ISO C99 also allows to declare arrays as non-overlapping.  The syntax is
   915  //      array_name[restrict]
   916  //    GCC 3.1 supports this.
   917  
   918  // Describes a char array whose address can safely be passed as the first
   919  //    argument to strncpy and strncat, as the char array is not necessarily
   920  //    a NUL-terminated string.
   921  
   922  // Undefine (also defined in libc-symbols.h).
   923  // Copies attributes from the declaration or type referenced by
   924  //    the argument.
   925  
   926  // Determine the wordsize from the preprocessor defines.
   927  //
   928  //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
   929  //    This file is part of the GNU C Library.
   930  //
   931  //    The GNU C Library is free software; you can redistribute it and/or
   932  //    modify it under the terms of the GNU Lesser General Public
   933  //    License as published by the Free Software Foundation; either
   934  //    version 2.1 of the License, or (at your option) any later version.
   935  //
   936  //    The GNU C Library is distributed in the hope that it will be useful,
   937  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   938  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   939  //    Lesser General Public License for more details.
   940  //
   941  //    You should have received a copy of the GNU Lesser General Public
   942  //    License along with the GNU C Library; if not, see
   943  //    <https://www.gnu.org/licenses/>.
   944  
   945  // Properties of long double type.  ldbl-128 version.
   946  //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
   947  //    This file is part of the GNU C Library.
   948  //
   949  //    The GNU C Library is free software; you can redistribute it and/or
   950  //    modify it under the terms of the GNU Lesser General Public
   951  //    License  published by the Free Software Foundation; either
   952  //    version 2.1 of the License, or (at your option) any later version.
   953  //
   954  //    The GNU C Library is distributed in the hope that it will be useful,
   955  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   956  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   957  //    Lesser General Public License for more details.
   958  //
   959  //    You should have received a copy of the GNU Lesser General Public
   960  //    License along with the GNU C Library; if not, see
   961  //    <https://www.gnu.org/licenses/>.
   962  
   963  // long double is distinct from double, so there is nothing to
   964  //    define here.
   965  
   966  // __glibc_macro_warning (MESSAGE) issues warning MESSAGE.  This is
   967  //    intended for use in preprocessor macros.
   968  //
   969  //    Note: MESSAGE must be a _single_ string; concatenation of string
   970  //    literals is not supported.
   971  
   972  // Generic selection (ISO C11) is a C-only feature, available in GCC
   973  //    since version 4.9.  Previous versions do not provide generic
   974  //    selection, even though they might set __STDC_VERSION__ to 201112L,
   975  //    when in -std=c11 mode.  Thus, we must check for !defined __GNUC__
   976  //    when testing __STDC_VERSION__ for generic selection support.
   977  //    On the other hand, Clang also defines __GNUC__, so a clang-specific
   978  //    check is required to enable the use of generic selection.
   979  
   980  // If we don't have __REDIRECT, prototypes will be missing if
   981  //    __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64].
   982  
   983  // Decide whether we can define 'extern inline' functions in headers.
   984  
   985  // This is here only because every header file already includes this one.
   986  //    Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
   987  //    <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
   988  //    that will always return failure (and set errno to ENOSYS).
   989  // This file is automatically generated.
   990  //    This file selects the right generated file of `__stub_FUNCTION' macros
   991  //    based on the architecture being compiled for.
   992  
   993  // Determine the wordsize from the preprocessor defines.
   994  //
   995  //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
   996  //    This file is part of the GNU C Library.
   997  //
   998  //    The GNU C Library is free software; you can redistribute it and/or
   999  //    modify it under the terms of the GNU Lesser General Public
  1000  //    License as published by the Free Software Foundation; either
  1001  //    version 2.1 of the License, or (at your option) any later version.
  1002  //
  1003  //    The GNU C Library is distributed in the hope that it will be useful,
  1004  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1005  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1006  //    Lesser General Public License for more details.
  1007  //
  1008  //    You should have received a copy of the GNU Lesser General Public
  1009  //    License along with the GNU C Library; if not, see
  1010  //    <https://www.gnu.org/licenses/>.
  1011  
  1012  // This file is automatically generated.
  1013  //    It defines a symbol `__stub_FUNCTION' for each function
  1014  //    in the C library which is a stub, meaning it will fail
  1015  //    every time called, usually setting errno to ENOSYS.
  1016  
  1017  // These may be used to determine what facilities are present at compile time.
  1018  //    Their values can be obtained at run time from `sysconf'.
  1019  
  1020  // POSIX Standard approved as ISO/IEC 9945-1 as of September 2008.
  1021  
  1022  // These are not #ifdef __USE_POSIX2 because they are
  1023  //    in the theoretically application-owned namespace.
  1024  
  1025  // The utilities on GNU systems also correspond to this version.
  1026  
  1027  // The utilities on GNU systems also correspond to this version.
  1028  
  1029  // This symbol was required until the 2001 edition of POSIX.
  1030  
  1031  // If defined, the implementation supports the
  1032  //    C Language Bindings Option.
  1033  
  1034  // If defined, the implementation supports the
  1035  //    C Language Development Utilities Option.
  1036  
  1037  // If defined, the implementation supports the
  1038  //    Software Development Utilities Option.
  1039  
  1040  // If defined, the implementation supports the
  1041  //    creation of locales with the localedef utility.
  1042  
  1043  // X/Open version number to which the library conforms.  It is selectable.
  1044  
  1045  // Commands and utilities from XPG4 are available.
  1046  
  1047  // We are compatible with the old published standards as well.
  1048  
  1049  // The X/Open Unix extensions are available.
  1050  
  1051  // The enhanced internationalization capabilities according to XPG4.2
  1052  //    are present.
  1053  
  1054  // The legacy interfaces are also available.
  1055  
  1056  // Get values of POSIX options:
  1057  //
  1058  //    If these symbols are defined, the corresponding features are
  1059  //    always available.  If not, they may be available sometimes.
  1060  //    The current values can be obtained with `sysconf'.
  1061  //
  1062  //    _POSIX_JOB_CONTROL		Job control is supported.
  1063  //    _POSIX_SAVED_IDS		Processes have a saved set-user-ID
  1064  // 				and a saved set-group-ID.
  1065  //    _POSIX_REALTIME_SIGNALS	Real-time, queued signals are supported.
  1066  //    _POSIX_PRIORITY_SCHEDULING	Priority scheduling is supported.
  1067  //    _POSIX_TIMERS		POSIX.4 clocks and timers are supported.
  1068  //    _POSIX_ASYNCHRONOUS_IO	Asynchronous I/O is supported.
  1069  //    _POSIX_PRIORITIZED_IO	Prioritized asynchronous I/O is supported.
  1070  //    _POSIX_SYNCHRONIZED_IO	Synchronizing file data is supported.
  1071  //    _POSIX_FSYNC			The fsync function is present.
  1072  //    _POSIX_MAPPED_FILES		Mapping of files to memory is supported.
  1073  //    _POSIX_MEMLOCK		Locking of all memory is supported.
  1074  //    _POSIX_MEMLOCK_RANGE		Locking of ranges of memory is supported.
  1075  //    _POSIX_MEMORY_PROTECTION	Setting of memory protections is supported.
  1076  //    _POSIX_MESSAGE_PASSING	POSIX.4 message queues are supported.
  1077  //    _POSIX_SEMAPHORES		POSIX.4 counting semaphores are supported.
  1078  //    _POSIX_SHARED_MEMORY_OBJECTS	POSIX.4 shared memory objects are supported.
  1079  //    _POSIX_THREADS		POSIX.1c pthreads are supported.
  1080  //    _POSIX_THREAD_ATTR_STACKADDR	Thread stack address attribute option supported.
  1081  //    _POSIX_THREAD_ATTR_STACKSIZE	Thread stack size attribute option supported.
  1082  //    _POSIX_THREAD_SAFE_FUNCTIONS	Thread-safe functions are supported.
  1083  //    _POSIX_THREAD_PRIORITY_SCHEDULING
  1084  // 				POSIX.1c thread execution scheduling supported.
  1085  //    _POSIX_THREAD_PRIO_INHERIT	Thread priority inheritance option supported.
  1086  //    _POSIX_THREAD_PRIO_PROTECT	Thread priority protection option supported.
  1087  //    _POSIX_THREAD_PROCESS_SHARED	Process-shared synchronization supported.
  1088  //    _POSIX_PII			Protocol-independent interfaces are supported.
  1089  //    _POSIX_PII_XTI		XTI protocol-indep. interfaces are supported.
  1090  //    _POSIX_PII_SOCKET		Socket protocol-indep. interfaces are supported.
  1091  //    _POSIX_PII_INTERNET		Internet family of protocols supported.
  1092  //    _POSIX_PII_INTERNET_STREAM	Connection-mode Internet protocol supported.
  1093  //    _POSIX_PII_INTERNET_DGRAM	Connectionless Internet protocol supported.
  1094  //    _POSIX_PII_OSI		ISO/OSI family of protocols supported.
  1095  //    _POSIX_PII_OSI_COTS		Connection-mode ISO/OSI service supported.
  1096  //    _POSIX_PII_OSI_CLTS		Connectionless ISO/OSI service supported.
  1097  //    _POSIX_POLL			Implementation supports `poll' function.
  1098  //    _POSIX_SELECT		Implementation supports `select' and `pselect'.
  1099  //
  1100  //    _XOPEN_REALTIME		X/Open realtime support is available.
  1101  //    _XOPEN_REALTIME_THREADS	X/Open realtime thread support is available.
  1102  //    _XOPEN_SHM			Shared memory interface according to XPG4.2.
  1103  //
  1104  //    _XBS5_ILP32_OFF32		Implementation provides environment with 32-bit
  1105  // 				int, long, pointer, and off_t types.
  1106  //    _XBS5_ILP32_OFFBIG		Implementation provides environment with 32-bit
  1107  // 				int, long, and pointer and off_t with at least
  1108  // 				64 bits.
  1109  //    _XBS5_LP64_OFF64		Implementation provides environment with 32-bit
  1110  // 				int, and 64-bit long, pointer, and off_t types.
  1111  //    _XBS5_LPBIG_OFFBIG		Implementation provides environment with at
  1112  // 				least 32 bits int and long, pointer, and off_t
  1113  // 				with at least 64 bits.
  1114  //
  1115  //    If any of these symbols is defined as -1, the corresponding option is not
  1116  //    true for any file.  If any is defined as other than -1, the corresponding
  1117  //    option is true for all files.  If a symbol is not defined at all, the value
  1118  //    for a specific file can be obtained from `pathconf' and `fpathconf'.
  1119  //
  1120  //    _POSIX_CHOWN_RESTRICTED	Only the super user can use `chown' to change
  1121  // 				the owner of a file.  `chown' can only be used
  1122  // 				to change the group ID of a file to a group of
  1123  // 				which the calling process is a member.
  1124  //    _POSIX_NO_TRUNC		Pathname components longer than
  1125  // 				NAME_MAX generate an error.
  1126  //    _POSIX_VDISABLE		If defined, if the value of an element of the
  1127  // 				`c_cc' member of `struct termios' is
  1128  // 				_POSIX_VDISABLE, no character will have the
  1129  // 				effect associated with that element.
  1130  //    _POSIX_SYNC_IO		Synchronous I/O may be performed.
  1131  //    _POSIX_ASYNC_IO		Asynchronous I/O may be performed.
  1132  //    _POSIX_PRIO_IO		Prioritized Asynchronous I/O may be performed.
  1133  //
  1134  //    Support for the Large File Support interface is not generally available.
  1135  //    If it is available the following constants are defined to one.
  1136  //    _LFS64_LARGEFILE		Low-level I/O supports large files.
  1137  //    _LFS64_STDIO			Standard I/O supports large files.
  1138  //
  1139  
  1140  // Define POSIX options for Linux.
  1141  //    Copyright (C) 1996-2020 Free Software Foundation, Inc.
  1142  //    This file is part of the GNU C Library.
  1143  //
  1144  //    The GNU C Library is free software; you can redistribute it and/or
  1145  //    modify it under the terms of the GNU Lesser General Public License as
  1146  //    published by the Free Software Foundation; either version 2.1 of the
  1147  //    License, or (at your option) any later version.
  1148  //
  1149  //    The GNU C Library is distributed in the hope that it will be useful,
  1150  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1151  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1152  //    Lesser General Public License for more details.
  1153  //
  1154  //    You should have received a copy of the GNU Lesser General Public
  1155  //    License along with the GNU C Library; see the file COPYING.LIB.  If
  1156  //    not, see <https://www.gnu.org/licenses/>.
  1157  
  1158  // Job control is supported.
  1159  
  1160  // Processes have a saved set-user-ID and a saved set-group-ID.
  1161  
  1162  // Priority scheduling is not supported with the correct semantics,
  1163  //    but GNU/Linux applications expect that the corresponding interfaces
  1164  //    are available, even though the semantics do not meet the POSIX
  1165  //    requirements.  See glibc bug 14829.
  1166  
  1167  // Synchronizing file data is supported.
  1168  
  1169  // The fsync function is present.
  1170  
  1171  // Mapping of files to memory is supported.
  1172  
  1173  // Locking of all memory is supported.
  1174  
  1175  // Locking of ranges of memory is supported.
  1176  
  1177  // Setting of memory protections is supported.
  1178  
  1179  // Some filesystems allow all users to change file ownership.
  1180  
  1181  // `c_cc' member of 'struct termios' structure can be disabled by
  1182  //    using the value _POSIX_VDISABLE.
  1183  
  1184  // Filenames are not silently truncated.
  1185  
  1186  // X/Open realtime support is available.
  1187  
  1188  // X/Open thread realtime support is available.
  1189  
  1190  // XPG4.2 shared memory is supported.
  1191  
  1192  // Tell we have POSIX threads.
  1193  
  1194  // We have the reentrant functions described in POSIX.
  1195  
  1196  // We provide priority scheduling for threads.
  1197  
  1198  // We support user-defined stack sizes.
  1199  
  1200  // We support user-defined stacks.
  1201  
  1202  // We support priority inheritence.
  1203  
  1204  // We support priority protection, though only for non-robust
  1205  //    mutexes.
  1206  
  1207  // We support priority inheritence for robust mutexes.
  1208  
  1209  // We do not support priority protection for robust mutexes.
  1210  
  1211  // We support POSIX.1b semaphores.
  1212  
  1213  // Real-time signals are supported.
  1214  
  1215  // We support asynchronous I/O.
  1216  // Alternative name for Unix98.
  1217  // Support for prioritization is also available.
  1218  
  1219  // The LFS support in asynchronous I/O is also available.
  1220  
  1221  // The rest of the LFS is also available.
  1222  
  1223  // POSIX shared memory objects are implemented.
  1224  
  1225  // CPU-time clocks support needs to be checked at runtime.
  1226  
  1227  // Clock support in threads must be also checked at runtime.
  1228  
  1229  // GNU libc provides regular expression handling.
  1230  
  1231  // Reader/Writer locks are available.
  1232  
  1233  // We have a POSIX shell.
  1234  
  1235  // We support the Timeouts option.
  1236  
  1237  // We support spinlocks.
  1238  
  1239  // The `spawn' function family is supported.
  1240  
  1241  // We have POSIX timers.
  1242  
  1243  // The barrier functions are available.
  1244  
  1245  // POSIX message queues are available.
  1246  
  1247  // Thread process-shared synchronization is supported.
  1248  
  1249  // The monotonic clock might be available.
  1250  
  1251  // The clock selection interfaces are available.
  1252  
  1253  // Advisory information interfaces are available.
  1254  
  1255  // IPv6 support is available.
  1256  
  1257  // Raw socket support is available.
  1258  
  1259  // We have at least one terminal.
  1260  
  1261  // Neither process nor thread sporadic server interfaces is available.
  1262  
  1263  // trace.h is not available.
  1264  
  1265  // Typed memory objects are not available.
  1266  
  1267  // Get the environment definitions from Unix98.
  1268  // Copyright (C) 1999-2020 Free Software Foundation, Inc.
  1269  //    This file is part of the GNU C Library.
  1270  //
  1271  //    The GNU C Library is free software; you can redistribute it and/or
  1272  //    modify it under the terms of the GNU Lesser General Public
  1273  //    License as published by the Free Software Foundation; either
  1274  //    version 2.1 of the License, or (at your option) any later version.
  1275  //
  1276  //    The GNU C Library is distributed in the hope that it will be useful,
  1277  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1278  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1279  //    Lesser General Public License for more details.
  1280  //
  1281  //    You should have received a copy of the GNU Lesser General Public
  1282  //    License along with the GNU C Library; if not, see
  1283  //    <https://www.gnu.org/licenses/>.
  1284  
  1285  // Determine the wordsize from the preprocessor defines.
  1286  //
  1287  //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
  1288  //    This file is part of the GNU C Library.
  1289  //
  1290  //    The GNU C Library is free software; you can redistribute it and/or
  1291  //    modify it under the terms of the GNU Lesser General Public
  1292  //    License as published by the Free Software Foundation; either
  1293  //    version 2.1 of the License, or (at your option) any later version.
  1294  //
  1295  //    The GNU C Library is distributed in the hope that it will be useful,
  1296  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1297  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1298  //    Lesser General Public License for more details.
  1299  //
  1300  //    You should have received a copy of the GNU Lesser General Public
  1301  //    License along with the GNU C Library; if not, see
  1302  //    <https://www.gnu.org/licenses/>.
  1303  
  1304  // This header should define the following symbols under the described
  1305  //    situations.  A value `1' means that the model is always supported,
  1306  //    `-1' means it is never supported.  Undefined means it cannot be
  1307  //    statically decided.
  1308  //
  1309  //    _POSIX_V7_ILP32_OFF32   32bit int, long, pointers, and off_t type
  1310  //    _POSIX_V7_ILP32_OFFBIG  32bit int, long, and pointers and larger off_t type
  1311  //
  1312  //    _POSIX_V7_LP64_OFF32	   64bit long and pointers and 32bit off_t type
  1313  //    _POSIX_V7_LPBIG_OFFBIG  64bit long and pointers and large off_t type
  1314  //
  1315  //    The macros _POSIX_V6_ILP32_OFF32, _POSIX_V6_ILP32_OFFBIG,
  1316  //    _POSIX_V6_LP64_OFF32, _POSIX_V6_LPBIG_OFFBIG, _XBS5_ILP32_OFF32,
  1317  //    _XBS5_ILP32_OFFBIG, _XBS5_LP64_OFF32, and _XBS5_LPBIG_OFFBIG were
  1318  //    used in previous versions of the Unix standard and are available
  1319  //    only for compatibility.
  1320  
  1321  // We can never provide environments with 32-bit wide pointers.
  1322  // We also have no use (for now) for an environment with bigger pointers
  1323  //    and offsets.
  1324  
  1325  // By default we have 64-bit wide `long int', pointers and `off_t'.
  1326  
  1327  // Standard file descriptors.
  1328  
  1329  // All functions that are not declared anywhere else.
  1330  
  1331  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1332  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1333  //    This file is part of the GNU C Library.
  1334  //
  1335  //    The GNU C Library is free software; you can redistribute it and/or
  1336  //    modify it under the terms of the GNU Lesser General Public
  1337  //    License as published by the Free Software Foundation; either
  1338  //    version 2.1 of the License, or (at your option) any later version.
  1339  //
  1340  //    The GNU C Library is distributed in the hope that it will be useful,
  1341  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1342  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1343  //    Lesser General Public License for more details.
  1344  //
  1345  //    You should have received a copy of the GNU Lesser General Public
  1346  //    License along with the GNU C Library; if not, see
  1347  //    <https://www.gnu.org/licenses/>.
  1348  
  1349  // Never include this file directly; use <sys/types.h> instead.
  1350  
  1351  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  1352  //    This file is part of the GNU C Library.
  1353  //
  1354  //    The GNU C Library is free software; you can redistribute it and/or
  1355  //    modify it under the terms of the GNU Lesser General Public
  1356  //    License as published by the Free Software Foundation; either
  1357  //    version 2.1 of the License, or (at your option) any later version.
  1358  //
  1359  //    The GNU C Library is distributed in the hope that it will be useful,
  1360  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1361  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1362  //    Lesser General Public License for more details.
  1363  //
  1364  //    You should have received a copy of the GNU Lesser General Public
  1365  //    License along with the GNU C Library; if not, see
  1366  //    <https://www.gnu.org/licenses/>.
  1367  
  1368  // Determine the wordsize from the preprocessor defines.
  1369  //
  1370  //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
  1371  //    This file is part of the GNU C Library.
  1372  //
  1373  //    The GNU C Library is free software; you can redistribute it and/or
  1374  //    modify it under the terms of the GNU Lesser General Public
  1375  //    License as published by the Free Software Foundation; either
  1376  //    version 2.1 of the License, or (at your option) any later version.
  1377  //
  1378  //    The GNU C Library is distributed in the hope that it will be useful,
  1379  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1380  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1381  //    Lesser General Public License for more details.
  1382  //
  1383  //    You should have received a copy of the GNU Lesser General Public
  1384  //    License along with the GNU C Library; if not, see
  1385  //    <https://www.gnu.org/licenses/>.
  1386  
  1387  // Bit size of the time_t type at glibc build time, general case.
  1388  //    Copyright (C) 2018-2020 Free Software Foundation, Inc.
  1389  //    This file is part of the GNU C Library.
  1390  //
  1391  //    The GNU C Library is free software; you can redistribute it and/or
  1392  //    modify it under the terms of the GNU Lesser General Public
  1393  //    License as published by the Free Software Foundation; either
  1394  //    version 2.1 of the License, or (at your option) any later version.
  1395  //
  1396  //    The GNU C Library is distributed in the hope that it will be useful,
  1397  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1398  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1399  //    Lesser General Public License for more details.
  1400  //
  1401  //    You should have received a copy of the GNU Lesser General Public
  1402  //    License along with the GNU C Library; if not, see
  1403  //    <https://www.gnu.org/licenses/>.
  1404  
  1405  // Determine the wordsize from the preprocessor defines.
  1406  //
  1407  //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
  1408  //    This file is part of the GNU C Library.
  1409  //
  1410  //    The GNU C Library is free software; you can redistribute it and/or
  1411  //    modify it under the terms of the GNU Lesser General Public
  1412  //    License as published by the Free Software Foundation; either
  1413  //    version 2.1 of the License, or (at your option) any later version.
  1414  //
  1415  //    The GNU C Library is distributed in the hope that it will be useful,
  1416  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1417  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1418  //    Lesser General Public License for more details.
  1419  //
  1420  //    You should have received a copy of the GNU Lesser General Public
  1421  //    License along with the GNU C Library; if not, see
  1422  //    <https://www.gnu.org/licenses/>.
  1423  
  1424  // Size in bits of the 'time_t' type of the default ABI.
  1425  
  1426  // Convenience types.
  1427  type X__u_char = uint8   /* types.h:31:23 */
  1428  type X__u_short = uint16 /* types.h:32:28 */
  1429  type X__u_int = uint32   /* types.h:33:22 */
  1430  type X__u_long = uint64  /* types.h:34:27 */
  1431  
  1432  // Fixed-size types, underlying types depend on word size and compiler.
  1433  type X__int8_t = int8     /* types.h:37:21 */
  1434  type X__uint8_t = uint8   /* types.h:38:23 */
  1435  type X__int16_t = int16   /* types.h:39:26 */
  1436  type X__uint16_t = uint16 /* types.h:40:28 */
  1437  type X__int32_t = int32   /* types.h:41:20 */
  1438  type X__uint32_t = uint32 /* types.h:42:22 */
  1439  type X__int64_t = int64   /* types.h:44:25 */
  1440  type X__uint64_t = uint64 /* types.h:45:27 */
  1441  
  1442  // Smallest types with at least a given width.
  1443  type X__int_least8_t = X__int8_t     /* types.h:52:18 */
  1444  type X__uint_least8_t = X__uint8_t   /* types.h:53:19 */
  1445  type X__int_least16_t = X__int16_t   /* types.h:54:19 */
  1446  type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
  1447  type X__int_least32_t = X__int32_t   /* types.h:56:19 */
  1448  type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
  1449  type X__int_least64_t = X__int64_t   /* types.h:58:19 */
  1450  type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
  1451  
  1452  // quad_t is also 64 bits.
  1453  type X__quad_t = int64    /* types.h:63:18 */
  1454  type X__u_quad_t = uint64 /* types.h:64:27 */
  1455  
  1456  // Largest integral types.
  1457  type X__intmax_t = int64   /* types.h:72:18 */
  1458  type X__uintmax_t = uint64 /* types.h:73:27 */
  1459  
  1460  // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
  1461  //    macros for each of the OS types we define below.  The definitions
  1462  //    of those macros must use the following macros for underlying types.
  1463  //    We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned
  1464  //    variants of each of the following integer types on this machine.
  1465  //
  1466  // 	16		-- "natural" 16-bit type (always short)
  1467  // 	32		-- "natural" 32-bit type (always int)
  1468  // 	64		-- "natural" 64-bit type (long or long long)
  1469  // 	LONG32		-- 32-bit type, traditionally long
  1470  // 	QUAD		-- 64-bit type, traditionally long long
  1471  // 	WORD		-- natural type of __WORDSIZE bits (int or long)
  1472  // 	LONGWORD	-- type of __WORDSIZE bits, traditionally long
  1473  //
  1474  //    We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the
  1475  //    conventional uses of `long' or `long long' type modifiers match the
  1476  //    types we define, even when a less-adorned type would be the same size.
  1477  //    This matters for (somewhat) portably writing printf/scanf formats for
  1478  //    these types, where using the appropriate l or ll format modifiers can
  1479  //    make the typedefs and the formats match up across all GNU platforms.  If
  1480  //    we used `long' when it's 64 bits where `long long' is expected, then the
  1481  //    compiler would warn about the formats not matching the argument types,
  1482  //    and the programmer changing them to shut up the compiler would break the
  1483  //    program's portability.
  1484  //
  1485  //    Here we assume what is presently the case in all the GCC configurations
  1486  //    we support: long long is always 64 bits, long is always word/address size,
  1487  //    and int is always 32 bits.
  1488  
  1489  // No need to mark the typedef with __extension__.
  1490  // bits/typesizes.h -- underlying types for *_t.  For the generic Linux ABI.
  1491  //    Copyright (C) 2011-2020 Free Software Foundation, Inc.
  1492  //    This file is part of the GNU C Library.
  1493  //    Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
  1494  //
  1495  //    The GNU C Library is free software; you can redistribute it and/or
  1496  //    modify it under the terms of the GNU Lesser General Public
  1497  //    License as published by the Free Software Foundation; either
  1498  //    version 2.1 of the License, or (at your option) any later version.
  1499  //
  1500  //    The GNU C Library is distributed in the hope that it will be useful,
  1501  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1502  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1503  //    Lesser General Public License for more details.
  1504  //
  1505  //    You should have received a copy of the GNU Lesser General Public
  1506  //    License along with the GNU C Library.  If not, see
  1507  //    <https://www.gnu.org/licenses/>.
  1508  
  1509  // See <bits/types.h> for the meaning of these macros.  This file exists so
  1510  //    that <bits/types.h> need not vary across different GNU platforms.
  1511  
  1512  // Tell the libc code that off_t and off64_t are actually the same type
  1513  //    for all ABI purposes, even if possibly expressed as different base types
  1514  //    for C type-checking purposes.
  1515  
  1516  // Same for ino_t and ino64_t.
  1517  
  1518  // And for __rlim_t and __rlim64_t.
  1519  
  1520  // And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t.
  1521  // Number of descriptors that can fit in an `fd_set'.
  1522  
  1523  // bits/time64.h -- underlying types for __time64_t.  Generic version.
  1524  //    Copyright (C) 2018-2020 Free Software Foundation, Inc.
  1525  //    This file is part of the GNU C Library.
  1526  //
  1527  //    The GNU C Library is free software; you can redistribute it and/or
  1528  //    modify it under the terms of the GNU Lesser General Public
  1529  //    License as published by the Free Software Foundation; either
  1530  //    version 2.1 of the License, or (at your option) any later version.
  1531  //
  1532  //    The GNU C Library is distributed in the hope that it will be useful,
  1533  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1534  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1535  //    Lesser General Public License for more details.
  1536  //
  1537  //    You should have received a copy of the GNU Lesser General Public
  1538  //    License along with the GNU C Library; if not, see
  1539  //    <https://www.gnu.org/licenses/>.
  1540  
  1541  // Define __TIME64_T_TYPE so that it is always a 64-bit type.
  1542  
  1543  // If we already have 64-bit time type then use it.
  1544  
  1545  type X__dev_t = uint64                     /* types.h:145:25 */ // Type of device numbers.
  1546  type X__uid_t = uint32                     /* types.h:146:25 */ // Type of user identifications.
  1547  type X__gid_t = uint32                     /* types.h:147:25 */ // Type of group identifications.
  1548  type X__ino_t = uint64                     /* types.h:148:25 */ // Type of file serial numbers.
  1549  type X__ino64_t = uint64                   /* types.h:149:27 */ // Type of file serial numbers (LFS).
  1550  type X__mode_t = uint32                    /* types.h:150:26 */ // Type of file attribute bitmasks.
  1551  type X__nlink_t = uint32                   /* types.h:151:27 */ // Type of file link counts.
  1552  type X__off_t = int64                      /* types.h:152:25 */ // Type of file sizes and offsets.
  1553  type X__off64_t = int64                    /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
  1554  type X__pid_t = int32                      /* types.h:154:25 */ // Type of process identifications.
  1555  type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
  1556  type X__clock_t = int64                    /* types.h:156:27 */ // Type of CPU usage counts.
  1557  type X__rlim_t = uint64                    /* types.h:157:26 */ // Type for resource measurement.
  1558  type X__rlim64_t = uint64                  /* types.h:158:28 */ // Type for resource measurement (LFS).
  1559  type X__id_t = uint32                      /* types.h:159:24 */ // General type for IDs.
  1560  type X__time_t = int64                     /* types.h:160:26 */ // Seconds since the Epoch.
  1561  type X__useconds_t = uint32                /* types.h:161:30 */ // Count of microseconds.
  1562  type X__suseconds_t = int64                /* types.h:162:31 */ // Signed count of microseconds.
  1563  
  1564  type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
  1565  type X__key_t = int32   /* types.h:165:25 */ // Type of an IPC key.
  1566  
  1567  // Clock ID used in clock and timer functions.
  1568  type X__clockid_t = int32 /* types.h:168:29 */
  1569  
  1570  // Timer ID returned by `timer_create'.
  1571  type X__timer_t = uintptr /* types.h:171:12 */
  1572  
  1573  // Type to represent block size.
  1574  type X__blksize_t = int32 /* types.h:174:29 */
  1575  
  1576  // Types from the Large File Support interface.
  1577  
  1578  // Type to count number of disk blocks.
  1579  type X__blkcnt_t = int64   /* types.h:179:28 */
  1580  type X__blkcnt64_t = int64 /* types.h:180:30 */
  1581  
  1582  // Type to count file system blocks.
  1583  type X__fsblkcnt_t = uint64   /* types.h:183:30 */
  1584  type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
  1585  
  1586  // Type to count file system nodes.
  1587  type X__fsfilcnt_t = uint64   /* types.h:187:30 */
  1588  type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
  1589  
  1590  // Type of miscellaneous file system fields.
  1591  type X__fsword_t = int64 /* types.h:191:28 */
  1592  
  1593  type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
  1594  
  1595  // Signed long type used in system calls.
  1596  type X__syscall_slong_t = int64 /* types.h:196:33 */
  1597  // Unsigned long type used in system calls.
  1598  type X__syscall_ulong_t = uint64 /* types.h:198:33 */
  1599  
  1600  // These few don't really vary by system, they always correspond
  1601  //
  1602  //	to one of the other defined types.
  1603  type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
  1604  type X__caddr_t = uintptr   /* types.h:203:14 */
  1605  
  1606  // Duplicates info from stdint.h but this is used in unistd.h.
  1607  type X__intptr_t = int64 /* types.h:206:25 */
  1608  
  1609  // Duplicate info from sys/socket.h.
  1610  type X__socklen_t = uint32 /* types.h:209:23 */
  1611  
  1612  // C99: An integer type that can be accessed as an atomic entity,
  1613  //
  1614  //	even in the presence of asynchronous interrupts.
  1615  //	It is not currently necessary for this to be machine-specific.
  1616  type X__sig_atomic_t = int32 /* types.h:214:13 */
  1617  
  1618  // Seconds since the Epoch, visible to user code when time_t is too
  1619  //    narrow only for consistency with the old way of widening too-narrow
  1620  //    types.  User code should never use __time64_t.
  1621  
  1622  type Ssize_t = X__ssize_t /* unistd.h:220:19 */
  1623  
  1624  // Wide character type.
  1625  //    Locale-writers should change this as necessary to
  1626  //    be big enough to hold unique values not between 0 and 127,
  1627  //    and not (wchar_t) -1, for each defined multibyte character.
  1628  
  1629  // Define this type if we are doing the whole job,
  1630  //    or if we want this type in particular.
  1631  
  1632  // A null pointer constant.
  1633  
  1634  // The Single Unix specification says that some more types are
  1635  //
  1636  //	available here.
  1637  type Gid_t = X__gid_t /* unistd.h:232:17 */
  1638  
  1639  type Uid_t = X__uid_t /* unistd.h:237:17 */
  1640  
  1641  type Off_t = X__off64_t /* unistd.h:245:19 */
  1642  
  1643  type Useconds_t = X__useconds_t /* unistd.h:255:22 */
  1644  
  1645  type Pid_t = X__pid_t /* unistd.h:260:17 */
  1646  
  1647  type Intptr_t = X__intptr_t /* unistd.h:267:20 */
  1648  
  1649  type Socklen_t = X__socklen_t /* unistd.h:274:21 */
  1650  
  1651  // Define some macros helping to catch buffer overflows.
  1652  
  1653  // System-specific extensions.
  1654  // System-specific extensions of <unistd.h>, Linux version.
  1655  //    Copyright (C) 2019-2020 Free Software Foundation, Inc.
  1656  //    This file is part of the GNU C Library.
  1657  //
  1658  //    The GNU C Library is free software; you can redistribute it and/or
  1659  //    modify it under the terms of the GNU Lesser General Public
  1660  //    License as published by the Free Software Foundation; either
  1661  //    version 2.1 of the License, or (at your option) any later version.
  1662  //
  1663  //    The GNU C Library is distributed in the hope that it will be useful,
  1664  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1665  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1666  //    Lesser General Public License for more details.
  1667  //
  1668  //    You should have received a copy of the GNU Lesser General Public
  1669  //    License along with the GNU C Library; if not, see
  1670  //    <https://www.gnu.org/licenses/>.
  1671  
  1672  var _ uint8 /* gen.c:2:13: */