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