| 1 | // Code generated by 'ccgo fts/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_linux_loong64.go -pkgname fts', DO NOT EDIT. |
| 2 | |
| 3 | package fts |
| 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 | ACCESSPERMS = 511 // stat.h:195:1: |
| 19 | ALLPERMS = 4095 // stat.h:196:1: |
| 20 | BIG_ENDIAN = 4321 // endian.h:28:1: |
| 21 | BYTE_ORDER = 1234 // endian.h:30:1: |
| 22 | DEFFILEMODE = 438 // stat.h:197:1: |
| 23 | FD_SETSIZE = 1024 // select.h:73:1: |
| 24 | FTS_AGAIN = 1 // fts.h:139:1: |
| 25 | FTS_COMFOLLOW = 0x0001 // fts.h:68:1: |
| 26 | FTS_D = 1 // fts.h:119:1: |
| 27 | FTS_DC = 2 // fts.h:120:1: |
| 28 | FTS_DEFAULT = 3 // fts.h:121:1: |
| 29 | FTS_DNR = 4 // fts.h:122:1: |
| 30 | FTS_DONTCHDIR = 0x01 // fts.h:135:1: |
| 31 | FTS_DOT = 5 // fts.h:123:1: |
| 32 | FTS_DP = 6 // fts.h:124:1: |
| 33 | FTS_ERR = 7 // fts.h:125:1: |
| 34 | FTS_F = 8 // fts.h:126:1: |
| 35 | FTS_FOLLOW = 2 // fts.h:140:1: |
| 36 | FTS_INIT = 9 // fts.h:127:1: |
| 37 | FTS_LOGICAL = 0x0002 // fts.h:69:1: |
| 38 | FTS_NAMEONLY = 0x0100 // fts.h:78:1: |
| 39 | FTS_NOCHDIR = 0x0004 // fts.h:70:1: |
| 40 | FTS_NOINSTR = 3 // fts.h:141:1: |
| 41 | FTS_NOSTAT = 0x0008 // fts.h:71:1: |
| 42 | FTS_NS = 10 // fts.h:128:1: |
| 43 | FTS_NSOK = 11 // fts.h:129:1: |
| 44 | FTS_OPTIONMASK = 0x00ff // fts.h:76:1: |
| 45 | FTS_PHYSICAL = 0x0010 // fts.h:72:1: |
| 46 | FTS_ROOTLEVEL = 0 // fts.h:116:1: |
| 47 | FTS_ROOTPARENTLEVEL = -1 // fts.h:115:1: |
| 48 | FTS_SEEDOT = 0x0020 // fts.h:73:1: |
| 49 | FTS_SKIP = 4 // fts.h:142:1: |
| 50 | FTS_SL = 12 // fts.h:130:1: |
| 51 | FTS_SLNONE = 13 // fts.h:131:1: |
| 52 | FTS_STOP = 0x0200 // fts.h:79:1: |
| 53 | FTS_SYMFOLLOW = 0x02 // fts.h:136:1: |
| 54 | FTS_W = 14 // fts.h:132:1: |
| 55 | FTS_WHITEOUT = 0x0080 // fts.h:75:1: |
| 56 | FTS_XDEV = 0x0040 // fts.h:74:1: |
| 57 | LITTLE_ENDIAN = 1234 // endian.h:27:1: |
| 58 | PDP_ENDIAN = 3412 // endian.h:29:1: |
| 59 | S_BLKSIZE = 512 // stat.h:199:1: |
| 60 | S_IEXEC = 64 // stat.h:177:1: |
| 61 | S_IFBLK = 24576 // stat.h:107:1: |
| 62 | S_IFCHR = 8192 // stat.h:106:1: |
| 63 | S_IFDIR = 16384 // stat.h:105:1: |
| 64 | S_IFIFO = 4096 // stat.h:110:1: |
| 65 | S_IFLNK = 40960 // stat.h:113:1: |
| 66 | S_IFMT = 61440 // stat.h:104:1: |
| 67 | S_IFREG = 32768 // stat.h:108:1: |
| 68 | S_IFSOCK = 49152 // stat.h:117:1: |
| 69 | S_IREAD = 256 // stat.h:175:1: |
| 70 | S_IRGRP = 32 // stat.h:180:1: |
| 71 | S_IROTH = 4 // stat.h:186:1: |
| 72 | S_IRUSR = 256 // stat.h:168:1: |
| 73 | S_IRWXG = 56 // stat.h:184:1: |
| 74 | S_IRWXO = 7 // stat.h:190:1: |
| 75 | S_IRWXU = 448 // stat.h:172:1: |
| 76 | S_ISGID = 1024 // stat.h:161:1: |
| 77 | S_ISUID = 2048 // stat.h:160:1: |
| 78 | S_ISVTX = 512 // stat.h:165:1: |
| 79 | S_IWGRP = 16 // stat.h:181:1: |
| 80 | S_IWOTH = 2 // stat.h:187:1: |
| 81 | S_IWRITE = 128 // stat.h:176:1: |
| 82 | S_IWUSR = 128 // stat.h:169:1: |
| 83 | S_IXGRP = 8 // stat.h:182:1: |
| 84 | S_IXOTH = 1 // stat.h:188:1: |
| 85 | S_IXUSR = 64 // stat.h:170:1: |
| 86 | UTIME_NOW = 1073741823 // stat.h:56:1: |
| 87 | UTIME_OMIT = 1073741822 // stat.h:57:1: |
| 88 | X_ABILP64 = 3 // <predefined>:377:1: |
| 89 | X_ATFILE_SOURCE = 1 // features.h:353:1: |
| 90 | X_BITS_ATOMIC_WIDE_COUNTER_H = 0 // atomic_wide_counter.h:20:1: |
| 91 | X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1: |
| 92 | X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: |
| 93 | X_BITS_ENDIAN_H = 1 // endian.h:20:1: |
| 94 | X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:21:1: |
| 95 | X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: |
| 96 | X_BITS_STAT_H = 1 // stat.h:23:1: |
| 97 | X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1: |
| 98 | X_BITS_STRUCT_STAT_H = 1 // struct_stat.h:24:1: |
| 99 | X_BITS_TIME64_H = 1 // time64.h:24:1: |
| 100 | X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: |
| 101 | X_BITS_TYPES_H = 1 // types.h:24:1: |
| 102 | X_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1: |
| 103 | X_BSD_SIZE_T_ = 0 // stddef.h:193:1: |
| 104 | X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:196:1: |
| 105 | X_DEFAULT_SOURCE = 1 // features.h:238:1: |
| 106 | X_ENDIAN_H = 1 // endian.h:19:1: |
| 107 | X_FEATURES_H = 1 // features.h:19:1: |
| 108 | X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: |
| 109 | X_FTS_H = 1 // fts.h:51:1: |
| 110 | X_GCC_SIZE_T = 0 // stddef.h:200:1: |
| 111 | X_LOONGARCH_ARCH = "loongarch64" // <predefined>:214:1: |
| 112 | X_LOONGARCH_ARCH_LOONGARCH64 = 1 // <predefined>:340:1: |
| 113 | X_LOONGARCH_FPSET = 32 // <predefined>:265:1: |
| 114 | X_LOONGARCH_SIM = 3 // <predefined>:233:1: |
| 115 | X_LOONGARCH_SPFPSET = 32 // <predefined>:88:1: |
| 116 | X_LOONGARCH_SZINT = 32 // <predefined>:230:1: |
| 117 | X_LOONGARCH_SZLONG = 64 // <predefined>:388:1: |
| 118 | X_LOONGARCH_SZPTR = 64 // <predefined>:200:1: |
| 119 | X_LOONGARCH_TUNE = "la464" // <predefined>:245:1: |
| 120 | X_LOONGARCH_TUNE_LA464 = 1 // <predefined>:63:1: |
| 121 | X_LP64 = 1 // <predefined>:372:1: |
| 122 | X_POSIX_C_SOURCE = 200809 // features.h:292:1: |
| 123 | X_POSIX_SOURCE = 1 // features.h:290:1: |
| 124 | X_SIZET_ = 0 // stddef.h:201:1: |
| 125 | X_SIZE_T = 0 // stddef.h:187:1: |
| 126 | X_SIZE_T_ = 0 // stddef.h:192:1: |
| 127 | X_SIZE_T_DECLARED = 0 // stddef.h:197:1: |
| 128 | X_SIZE_T_DEFINED = 0 // stddef.h:195:1: |
| 129 | X_SIZE_T_DEFINED_ = 0 // stddef.h:194:1: |
| 130 | X_STATBUF_ST_BLKSIZE = 0 // struct_stat.h:122:1: |
| 131 | X_STATBUF_ST_NSEC = 0 // struct_stat.h:125:1: |
| 132 | X_STATBUF_ST_RDEV = 0 // struct_stat.h:123:1: |
| 133 | X_STDC_PREDEF_H = 1 // <predefined>:223:1: |
| 134 | X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: |
| 135 | X_SYS_CDEFS_H = 1 // cdefs.h:20:1: |
| 136 | X_SYS_SELECT_H = 1 // select.h:22:1: |
| 137 | X_SYS_SIZE_T_H = 0 // stddef.h:188:1: |
| 138 | X_SYS_STAT_H = 1 // stat.h:23:1: |
| 139 | X_SYS_TYPES_H = 1 // types.h:23:1: |
| 140 | X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: |
| 141 | X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: |
| 142 | X_T_SIZE = 0 // stddef.h:190:1: |
| 143 | X_T_SIZE_ = 0 // stddef.h:189:1: |
| 144 | Linux = 1 // <predefined>:308:1: |
| 145 | Unix = 1 // <predefined>:247:1: |
| 146 | ) |
| 147 | |
| 148 | type Ptrdiff_t = int64 /* <builtin>:3:26 */ |
| 149 | |
| 150 | type Size_t = uint64 /* <builtin>:9:23 */ |
| 151 | |
| 152 | type Wchar_t = int32 /* <builtin>:15:24 */ |
| 153 | |
| 154 | type X__int128_t = struct { |
| 155 | Flo int64 |
| 156 | Fhi int64 |
| 157 | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 |
| 158 | type X__uint128_t = struct { |
| 159 | Flo uint64 |
| 160 | Fhi uint64 |
| 161 | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 |
| 162 | |
| 163 | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ |
| 164 | type X__float128 = float64 /* <builtin>:47:21 */ |
| 165 | |
| 166 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 167 | // This file is part of the GNU C Library. |
| 168 | // |
| 169 | // The GNU C Library is free software; you can redistribute it and/or |
| 170 | // modify it under the terms of the GNU Lesser General Public |
| 171 | // License as published by the Free Software Foundation; either |
| 172 | // version 2.1 of the License, or (at your option) any later version. |
| 173 | // |
| 174 | // The GNU C Library is distributed in the hope that it will be useful, |
| 175 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 176 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 177 | // Lesser General Public License for more details. |
| 178 | // |
| 179 | // You should have received a copy of the GNU Lesser General Public |
| 180 | // License along with the GNU C Library; if not, see |
| 181 | // <https://www.gnu.org/licenses/>. |
| 182 | |
| 183 | // POSIX Standard: 2.6 Primitive System Data Types <sys/types.h> |
| 184 | |
| 185 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 186 | // This file is part of the GNU C Library. |
| 187 | // |
| 188 | // The GNU C Library is free software; you can redistribute it and/or |
| 189 | // modify it under the terms of the GNU Lesser General Public |
| 190 | // License as published by the Free Software Foundation; either |
| 191 | // version 2.1 of the License, or (at your option) any later version. |
| 192 | // |
| 193 | // The GNU C Library is distributed in the hope that it will be useful, |
| 194 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 195 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 196 | // Lesser General Public License for more details. |
| 197 | // |
| 198 | // You should have received a copy of the GNU Lesser General Public |
| 199 | // License along with the GNU C Library; if not, see |
| 200 | // <https://www.gnu.org/licenses/>. |
| 201 | |
| 202 | // These are defined by the user (or the compiler) |
| 203 | // to specify the desired environment: |
| 204 | // |
| 205 | // __STRICT_ANSI__ ISO Standard C. |
| 206 | // _ISOC99_SOURCE Extensions to ISO C89 from ISO C99. |
| 207 | // _ISOC11_SOURCE Extensions to ISO C99 from ISO C11. |
| 208 | // _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X. |
| 209 | // __STDC_WANT_LIB_EXT2__ |
| 210 | // Extensions to ISO C99 from TR 27431-2:2010. |
| 211 | // __STDC_WANT_IEC_60559_BFP_EXT__ |
| 212 | // Extensions to ISO C11 from TS 18661-1:2014. |
| 213 | // __STDC_WANT_IEC_60559_FUNCS_EXT__ |
| 214 | // Extensions to ISO C11 from TS 18661-4:2015. |
| 215 | // __STDC_WANT_IEC_60559_TYPES_EXT__ |
| 216 | // Extensions to ISO C11 from TS 18661-3:2015. |
| 217 | // __STDC_WANT_IEC_60559_EXT__ |
| 218 | // ISO C2X interfaces defined only in Annex F. |
| 219 | // |
| 220 | // _POSIX_SOURCE IEEE Std 1003.1. |
| 221 | // _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2; |
| 222 | // if >=199309L, add IEEE Std 1003.1b-1993; |
| 223 | // if >=199506L, add IEEE Std 1003.1c-1995; |
| 224 | // if >=200112L, all of IEEE 1003.1-2004 |
| 225 | // if >=200809L, all of IEEE 1003.1-2008 |
| 226 | // _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if |
| 227 | // Single Unix conformance is wanted, to 600 for the |
| 228 | // sixth revision, to 700 for the seventh revision. |
| 229 | // _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions. |
| 230 | // _LARGEFILE_SOURCE Some more functions for correct standard I/O. |
| 231 | // _LARGEFILE64_SOURCE Additional functionality from LFS for large files. |
| 232 | // _FILE_OFFSET_BITS=N Select default filesystem interface. |
| 233 | // _ATFILE_SOURCE Additional *at interfaces. |
| 234 | // _DYNAMIC_STACK_SIZE_SOURCE Select correct (but non compile-time constant) |
| 235 | // MINSIGSTKSZ, SIGSTKSZ and PTHREAD_STACK_MIN. |
| 236 | // _GNU_SOURCE All of the above, plus GNU extensions. |
| 237 | // _DEFAULT_SOURCE The default set of features (taking precedence over |
| 238 | // __STRICT_ANSI__). |
| 239 | // |
| 240 | // _FORTIFY_SOURCE Add security hardening to many library functions. |
| 241 | // Set to 1, 2 or 3; 3 performs stricter checks than 2, which |
| 242 | // performs stricter checks than 1. |
| 243 | // |
| 244 | // _REENTRANT, _THREAD_SAFE |
| 245 | // Obsolete; equivalent to _POSIX_C_SOURCE=199506L. |
| 246 | // |
| 247 | // The `-ansi' switch to the GNU C compiler, and standards conformance |
| 248 | // options such as `-std=c99', define __STRICT_ANSI__. If none of |
| 249 | // these are defined, or if _DEFAULT_SOURCE is defined, the default is |
| 250 | // to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to |
| 251 | // 200809L, as well as enabling miscellaneous functions from BSD and |
| 252 | // SVID. If more than one of these are defined, they accumulate. For |
| 253 | // example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together |
| 254 | // give you ISO C, 1003.1, and 1003.2, but nothing else. |
| 255 | // |
| 256 | // These are defined by this file and are used by the |
| 257 | // header files to decide what to declare or define: |
| 258 | // |
| 259 | // __GLIBC_USE (F) Define things from feature set F. This is defined |
| 260 | // to 1 or 0; the subsequent macros are either defined |
| 261 | // or undefined, and those tests should be moved to |
| 262 | // __GLIBC_USE. |
| 263 | // __USE_ISOC11 Define ISO C11 things. |
| 264 | // __USE_ISOC99 Define ISO C99 things. |
| 265 | // __USE_ISOC95 Define ISO C90 AMD1 (C95) things. |
| 266 | // __USE_ISOCXX11 Define ISO C++11 things. |
| 267 | // __USE_POSIX Define IEEE Std 1003.1 things. |
| 268 | // __USE_POSIX2 Define IEEE Std 1003.2 things. |
| 269 | // __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things. |
| 270 | // __USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things. |
| 271 | // __USE_XOPEN Define XPG things. |
| 272 | // __USE_XOPEN_EXTENDED Define X/Open Unix things. |
| 273 | // __USE_UNIX98 Define Single Unix V2 things. |
| 274 | // __USE_XOPEN2K Define XPG6 things. |
| 275 | // __USE_XOPEN2KXSI Define XPG6 XSI things. |
| 276 | // __USE_XOPEN2K8 Define XPG7 things. |
| 277 | // __USE_XOPEN2K8XSI Define XPG7 XSI things. |
| 278 | // __USE_LARGEFILE Define correct standard I/O things. |
| 279 | // __USE_LARGEFILE64 Define LFS things with separate names. |
| 280 | // __USE_FILE_OFFSET64 Define 64bit interface as default. |
| 281 | // __USE_MISC Define things from 4.3BSD or System V Unix. |
| 282 | // __USE_ATFILE Define *at interfaces and AT_* constants for them. |
| 283 | // __USE_DYNAMIC_STACK_SIZE Define correct (but non compile-time constant) |
| 284 | // MINSIGSTKSZ, SIGSTKSZ and PTHREAD_STACK_MIN. |
| 285 | // __USE_GNU Define GNU extensions. |
| 286 | // __USE_FORTIFY_LEVEL Additional security measures used, according to level. |
| 287 | // |
| 288 | // The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are |
| 289 | // defined by this file unconditionally. `__GNU_LIBRARY__' is provided |
| 290 | // only for compatibility. All new code should use the other symbols |
| 291 | // to test for features. |
| 292 | // |
| 293 | // All macros listed above as possibly being defined by this file are |
| 294 | // explicitly undefined if they are not explicitly defined. |
| 295 | // Feature-test macros that are not defined by the user or compiler |
| 296 | // but are implied by the other feature-test macros defined (or by the |
| 297 | // lack of any definitions) are defined by the file. |
| 298 | // |
| 299 | // ISO C feature test macros depend on the definition of the macro |
| 300 | // when an affected header is included, not when the first system |
| 301 | // header is included, and so they are handled in |
| 302 | // <bits/libc-header-start.h>, which does not have a multiple include |
| 303 | // guard. Feature test macros that can be handled from the first |
| 304 | // system header included are handled here. |
| 305 | |
| 306 | // Undefine everything, so we get a clean slate. |
| 307 | |
| 308 | // Suppress kernel-name space pollution unless user expressedly asks |
| 309 | // for it. |
| 310 | |
| 311 | // Convenience macro to test the version of gcc. |
| 312 | // Use like this: |
| 313 | // #if __GNUC_PREREQ (2,8) |
| 314 | // ... code requiring gcc 2.8 or later ... |
| 315 | // #endif |
| 316 | // Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was |
| 317 | // added in 2.0. |
| 318 | |
| 319 | // Similarly for clang. Features added to GCC after version 4.2 may |
| 320 | // or may not also be available in clang, and clang's definitions of |
| 321 | // __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such |
| 322 | // features can be queried via __has_extension/__has_feature. |
| 323 | |
| 324 | // Whether to use feature set F. |
| 325 | |
| 326 | // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for |
| 327 | // _DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not |
| 328 | // issue a warning; the expectation is that the source is being |
| 329 | // transitioned to use the new macro. |
| 330 | |
| 331 | // If _GNU_SOURCE was defined by the user, turn on all the other features. |
| 332 | |
| 333 | // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined, |
| 334 | // define _DEFAULT_SOURCE. |
| 335 | |
| 336 | // This is to enable the ISO C2X extension. |
| 337 | |
| 338 | // This is to enable the ISO C11 extension. |
| 339 | |
| 340 | // This is to enable the ISO C99 extension. |
| 341 | |
| 342 | // This is to enable the ISO C90 Amendment 1:1995 extension. |
| 343 | |
| 344 | // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE |
| 345 | // is defined, use POSIX.1-2008 (or another version depending on |
| 346 | // _XOPEN_SOURCE). |
| 347 | |
| 348 | // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be |
| 349 | // defined in all multithreaded code. GNU libc has not required this |
| 350 | // for many years. We now treat them as compatibility synonyms for |
| 351 | // _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with |
| 352 | // comprehensive support for multithreaded code. Using them never |
| 353 | // lowers the selected level of POSIX conformance, only raises it. |
| 354 | |
| 355 | // Features part to handle 64-bit time_t support. |
| 356 | // Copyright (C) 2021-2023 Free Software Foundation, Inc. |
| 357 | // This file is part of the GNU C Library. |
| 358 | // |
| 359 | // The GNU C Library is free software; you can redistribute it and/or |
| 360 | // modify it under the terms of the GNU Lesser General Public |
| 361 | // License as published by the Free Software Foundation; either |
| 362 | // version 2.1 of the License, or (at your option) any later version. |
| 363 | // |
| 364 | // The GNU C Library is distributed in the hope that it will be useful, |
| 365 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 366 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 367 | // Lesser General Public License for more details. |
| 368 | // |
| 369 | // You should have received a copy of the GNU Lesser General Public |
| 370 | // License along with the GNU C Library; if not, see |
| 371 | // <https://www.gnu.org/licenses/>. |
| 372 | |
| 373 | // We need to know the word size in order to check the time size. |
| 374 | // Copyright (C) 1999-2023 Free Software Foundation, Inc. |
| 375 | // This file is part of the GNU C Library. |
| 376 | // |
| 377 | // The GNU C Library is free software; you can redistribute it and/or |
| 378 | // modify it under the terms of the GNU Lesser General Public |
| 379 | // License as published by the Free Software Foundation; either |
| 380 | // version 2.1 of the License, or (at your option) any later version. |
| 381 | // |
| 382 | // The GNU C Library is distributed in the hope that it will be useful, |
| 383 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 384 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 385 | // Lesser General Public License for more details. |
| 386 | // |
| 387 | // You should have received a copy of the GNU Lesser General Public |
| 388 | // License along with the GNU C Library; if not, see |
| 389 | // <https://www.gnu.org/licenses/>. |
| 390 | |
| 391 | // Bit size of the time_t type at glibc build time, general case. |
| 392 | // Copyright (C) 2018-2023 Free Software Foundation, Inc. |
| 393 | // This file is part of the GNU C Library. |
| 394 | // |
| 395 | // The GNU C Library is free software; you can redistribute it and/or |
| 396 | // modify it under the terms of the GNU Lesser General Public |
| 397 | // License as published by the Free Software Foundation; either |
| 398 | // version 2.1 of the License, or (at your option) any later version. |
| 399 | // |
| 400 | // The GNU C Library is distributed in the hope that it will be useful, |
| 401 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 402 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 403 | // Lesser General Public License for more details. |
| 404 | // |
| 405 | // You should have received a copy of the GNU Lesser General Public |
| 406 | // License along with the GNU C Library; if not, see |
| 407 | // <https://www.gnu.org/licenses/>. |
| 408 | |
| 409 | // Size in bits of the 'time_t' type of the default ABI. |
| 410 | |
| 411 | // The function 'gets' existed in C89, but is impossible to use |
| 412 | // safely. It has been removed from ISO C11 and ISO C++14. Note: for |
| 413 | // compatibility with various implementations of <cstdio>, this test |
| 414 | // must consider only the value of __cplusplus when compiling C++. |
| 415 | |
| 416 | // GNU formerly extended the scanf functions with modified format |
| 417 | // specifiers %as, %aS, and %a[...] that allocate a buffer for the |
| 418 | // input using malloc. This extension conflicts with ISO C99, which |
| 419 | // defines %a as a standalone format specifier that reads a floating- |
| 420 | // point number; moreover, POSIX.1-2008 provides the same feature |
| 421 | // using the modifier letter 'm' instead (%ms, %mS, %m[...]). |
| 422 | // |
| 423 | // We now follow C99 unless GNU extensions are active and the compiler |
| 424 | // is specifically in C89 or C++98 mode (strict or not). For |
| 425 | // instance, with GCC, -std=gnu11 will have C99-compliant scanf with |
| 426 | // or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the |
| 427 | // old extension. |
| 428 | |
| 429 | // ISO C2X added support for a 0b or 0B prefix on binary constants as |
| 430 | // inputs to strtol-family functions (base 0 or 2). This macro is |
| 431 | // used to condition redirection in headers to allow that redirection |
| 432 | // to be disabled when building those functions, despite _GNU_SOURCE |
| 433 | // being defined. |
| 434 | |
| 435 | // Get definitions of __STDC_* predefined macros, if the compiler has |
| 436 | // not preincluded this header automatically. |
| 437 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 438 | // This file is part of the GNU C Library. |
| 439 | // |
| 440 | // The GNU C Library is free software; you can redistribute it and/or |
| 441 | // modify it under the terms of the GNU Lesser General Public |
| 442 | // License as published by the Free Software Foundation; either |
| 443 | // version 2.1 of the License, or (at your option) any later version. |
| 444 | // |
| 445 | // The GNU C Library is distributed in the hope that it will be useful, |
| 446 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 447 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 448 | // Lesser General Public License for more details. |
| 449 | // |
| 450 | // You should have received a copy of the GNU Lesser General Public |
| 451 | // License along with the GNU C Library; if not, see |
| 452 | // <https://www.gnu.org/licenses/>. |
| 453 | |
| 454 | // This macro indicates that the installed library is the GNU C Library. |
| 455 | // For historic reasons the value now is 6 and this will stay from now |
| 456 | // on. The use of this variable is deprecated. Use __GLIBC__ and |
| 457 | // __GLIBC_MINOR__ now (see below) when you want to test for a specific |
| 458 | // GNU C library version and use the values in <gnu/lib-names.h> to get |
| 459 | // the sonames of the shared libraries. |
| 460 | |
| 461 | // Major and minor version number of the GNU C library package. Use |
| 462 | // these macros to test for features in specific releases. |
| 463 | |
| 464 | // This is here only because every header file already includes this one. |
| 465 | // Copyright (C) 1992-2023 Free Software Foundation, Inc. |
| 466 | // Copyright The GNU Toolchain Authors. |
| 467 | // This file is part of the GNU C Library. |
| 468 | // |
| 469 | // The GNU C Library is free software; you can redistribute it and/or |
| 470 | // modify it under the terms of the GNU Lesser General Public |
| 471 | // License as published by the Free Software Foundation; either |
| 472 | // version 2.1 of the License, or (at your option) any later version. |
| 473 | // |
| 474 | // The GNU C Library is distributed in the hope that it will be useful, |
| 475 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 476 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 477 | // Lesser General Public License for more details. |
| 478 | // |
| 479 | // You should have received a copy of the GNU Lesser General Public |
| 480 | // License along with the GNU C Library; if not, see |
| 481 | // <https://www.gnu.org/licenses/>. |
| 482 | |
| 483 | // We are almost always included from features.h. |
| 484 | |
| 485 | // The GNU libc does not support any K&R compilers or the traditional mode |
| 486 | // of ISO C compilers anymore. Check for some of the combinations not |
| 487 | // supported anymore. |
| 488 | |
| 489 | // Some user header file might have defined this before. |
| 490 | |
| 491 | // Compilers that lack __has_attribute may object to |
| 492 | // #if defined __has_attribute && __has_attribute (...) |
| 493 | // even though they do not need to evaluate the right-hand side of the &&. |
| 494 | // Similarly for __has_builtin, etc. |
| 495 | |
| 496 | // All functions, except those with callbacks or those that |
| 497 | // synchronize memory, are leaf functions. |
| 498 | |
| 499 | // GCC can always grok prototypes. For C++ programs we add throw() |
| 500 | // to help it optimize the function calls. But this only works with |
| 501 | // gcc 2.8.x and egcs. For gcc 3.4 and up we even mark C functions |
| 502 | // as non-throwing using a function attribute since programs can use |
| 503 | // the -fexceptions options for C code as well. |
| 504 | |
| 505 | // These two macros are not used in glibc anymore. They are kept here |
| 506 | // only because some other projects expect the macros to be defined. |
| 507 | |
| 508 | // For these things, GCC behaves the ANSI way normally, |
| 509 | // and the non-ANSI way under -traditional. |
| 510 | |
| 511 | // This is not a typedef so `const __ptr_t' does the right thing. |
| 512 | |
| 513 | // C++ needs to know that types and declarations are C, not C++. |
| 514 | |
| 515 | // Fortify support. |
| 516 | |
| 517 | // Use __builtin_dynamic_object_size at _FORTIFY_SOURCE=3 when available. |
| 518 | |
| 519 | // Support for flexible arrays. |
| 520 | // Headers that should use flexible arrays only if they're "real" |
| 521 | // (e.g. only if they won't affect sizeof()) should test |
| 522 | // #if __glibc_c99_flexarr_available. |
| 523 | |
| 524 | // __asm__ ("xyz") is used throughout the headers to rename functions |
| 525 | // at the assembly language level. This is wrapped by the __REDIRECT |
| 526 | // macro, in order to support compilers that can do this some other |
| 527 | // way. When compilers don't support asm-names at all, we have to do |
| 528 | // preprocessor tricks instead (which don't have exactly the right |
| 529 | // semantics, but it's the best we can do). |
| 530 | // |
| 531 | // Example: |
| 532 | // int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); |
| 533 | |
| 534 | // |
| 535 | // #elif __SOME_OTHER_COMPILER__ |
| 536 | // |
| 537 | // # define __REDIRECT(name, proto, alias) name proto; _Pragma("let " #name " = " #alias) |
| 538 | |
| 539 | // GCC and clang have various useful declarations that can be made with |
| 540 | // the '__attribute__' syntax. All of the ways we use this do fine if |
| 541 | // they are omitted for compilers that don't understand it. |
| 542 | |
| 543 | // At some point during the gcc 2.96 development the `malloc' attribute |
| 544 | // for functions was introduced. We don't want to use it unconditionally |
| 545 | // (although this would be possible) since it generates warnings. |
| 546 | |
| 547 | // Tell the compiler which arguments to an allocation function |
| 548 | // indicate the size of the allocation. |
| 549 | |
| 550 | // Tell the compiler which argument to an allocation function |
| 551 | // indicates the alignment of the allocation. |
| 552 | |
| 553 | // At some point during the gcc 2.96 development the `pure' attribute |
| 554 | // for functions was introduced. We don't want to use it unconditionally |
| 555 | // (although this would be possible) since it generates warnings. |
| 556 | |
| 557 | // This declaration tells the compiler that the value is constant. |
| 558 | |
| 559 | // At some point during the gcc 3.1 development the `used' attribute |
| 560 | // for functions was introduced. We don't want to use it unconditionally |
| 561 | // (although this would be possible) since it generates warnings. |
| 562 | |
| 563 | // Since version 3.2, gcc allows marking deprecated functions. |
| 564 | |
| 565 | // Since version 4.5, gcc also allows one to specify the message printed |
| 566 | // when a deprecated function is used. clang claims to be gcc 4.2, but |
| 567 | // may also support this feature. |
| 568 | |
| 569 | // At some point during the gcc 2.8 development the `format_arg' attribute |
| 570 | // for functions was introduced. We don't want to use it unconditionally |
| 571 | // (although this would be possible) since it generates warnings. |
| 572 | // If several `format_arg' attributes are given for the same function, in |
| 573 | // gcc-3.0 and older, all but the last one are ignored. In newer gccs, |
| 574 | // all designated arguments are considered. |
| 575 | |
| 576 | // At some point during the gcc 2.97 development the `strfmon' format |
| 577 | // attribute for functions was introduced. We don't want to use it |
| 578 | // unconditionally (although this would be possible) since it |
| 579 | // generates warnings. |
| 580 | |
| 581 | // The nonnull function attribute marks pointer parameters that |
| 582 | // must not be NULL. This has the name __nonnull in glibc, |
| 583 | // and __attribute_nonnull__ in files shared with Gnulib to avoid |
| 584 | // collision with a different __nonnull in DragonFlyBSD 5.9. |
| 585 | |
| 586 | // The returns_nonnull function attribute marks the return type of the function |
| 587 | // as always being non-null. |
| 588 | |
| 589 | // If fortification mode, we warn about unused results of certain |
| 590 | // function calls which can lead to problems. |
| 591 | |
| 592 | // Forces a function to be always inlined. |
| 593 | // The Linux kernel defines __always_inline in stddef.h (283d7573), and |
| 594 | // it conflicts with this definition. Therefore undefine it first to |
| 595 | // allow either header to be included first. |
| 596 | |
| 597 | // Associate error messages with the source location of the call site rather |
| 598 | // than with the source location inside the function. |
| 599 | |
| 600 | // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 |
| 601 | // inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ |
| 602 | // or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions |
| 603 | // older than 4.3 may define these macros and still not guarantee GNU inlining |
| 604 | // semantics. |
| 605 | // |
| 606 | // clang++ identifies itself as gcc-4.2, but has support for GNU inlining |
| 607 | // semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and |
| 608 | // __GNUC_GNU_INLINE__ macro definitions. |
| 609 | |
| 610 | // GCC 4.3 and above allow passing all anonymous arguments of an |
| 611 | // __extern_always_inline function to some other vararg function. |
| 612 | |
| 613 | // It is possible to compile containing GCC extensions even if GCC is |
| 614 | // run in pedantic mode if the uses are carefully marked using the |
| 615 | // `__extension__' keyword. But this is not generally available before |
| 616 | // version 2.8. |
| 617 | |
| 618 | // __restrict is known in EGCS 1.2 and above, and in clang. |
| 619 | // It works also in C++ mode (outside of arrays), but only when spelled |
| 620 | // as '__restrict', not 'restrict'. |
| 621 | |
| 622 | // ISO C99 also allows to declare arrays as non-overlapping. The syntax is |
| 623 | // array_name[restrict] |
| 624 | // GCC 3.1 and clang support this. |
| 625 | // This syntax is not usable in C++ mode. |
| 626 | |
| 627 | // Describes a char array whose address can safely be passed as the first |
| 628 | // argument to strncpy and strncat, as the char array is not necessarily |
| 629 | // a NUL-terminated string. |
| 630 | |
| 631 | // Undefine (also defined in libc-symbols.h). |
| 632 | // Copies attributes from the declaration or type referenced by |
| 633 | // the argument. |
| 634 | |
| 635 | // Gnulib avoids including these, as they don't work on non-glibc or |
| 636 | // older glibc platforms. |
| 637 | // Copyright (C) 1999-2023 Free Software Foundation, Inc. |
| 638 | // This file is part of the GNU C Library. |
| 639 | // |
| 640 | // The GNU C Library is free software; you can redistribute it and/or |
| 641 | // modify it under the terms of the GNU Lesser General Public |
| 642 | // License as published by the Free Software Foundation; either |
| 643 | // version 2.1 of the License, or (at your option) any later version. |
| 644 | // |
| 645 | // The GNU C Library is distributed in the hope that it will be useful, |
| 646 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 647 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 648 | // Lesser General Public License for more details. |
| 649 | // |
| 650 | // You should have received a copy of the GNU Lesser General Public |
| 651 | // License along with the GNU C Library; if not, see |
| 652 | // <https://www.gnu.org/licenses/>. |
| 653 | |
| 654 | // Properties of long double type. ldbl-128 version. |
| 655 | // Copyright (C) 2016-2023 Free Software Foundation, Inc. |
| 656 | // This file is part of the GNU C Library. |
| 657 | // |
| 658 | // The GNU C Library is free software; you can redistribute it and/or |
| 659 | // modify it under the terms of the GNU Lesser General Public |
| 660 | // License published by the Free Software Foundation; either |
| 661 | // version 2.1 of the License, or (at your option) any later version. |
| 662 | // |
| 663 | // The GNU C Library is distributed in the hope that it will be useful, |
| 664 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 665 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 666 | // Lesser General Public License for more details. |
| 667 | // |
| 668 | // You should have received a copy of the GNU Lesser General Public |
| 669 | // License along with the GNU C Library; if not, see |
| 670 | // <https://www.gnu.org/licenses/>. |
| 671 | |
| 672 | // long double is distinct from double, so there is nothing to |
| 673 | // define here. |
| 674 | |
| 675 | // __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is |
| 676 | // intended for use in preprocessor macros. |
| 677 | // |
| 678 | // Note: MESSAGE must be a _single_ string; concatenation of string |
| 679 | // literals is not supported. |
| 680 | |
| 681 | // Generic selection (ISO C11) is a C-only feature, available in GCC |
| 682 | // since version 4.9. Previous versions do not provide generic |
| 683 | // selection, even though they might set __STDC_VERSION__ to 201112L, |
| 684 | // when in -std=c11 mode. Thus, we must check for !defined __GNUC__ |
| 685 | // when testing __STDC_VERSION__ for generic selection support. |
| 686 | // On the other hand, Clang also defines __GNUC__, so a clang-specific |
| 687 | // check is required to enable the use of generic selection. |
| 688 | |
| 689 | // Designates a 1-based positional argument ref-index of pointer type |
| 690 | // that can be used to access size-index elements of the pointed-to |
| 691 | // array according to access mode, or at least one element when |
| 692 | // size-index is not provided: |
| 693 | // access (access-mode, <ref-index> [, <size-index>]) |
| 694 | // For _FORTIFY_SOURCE == 3 we use __builtin_dynamic_object_size, which may |
| 695 | // use the access attribute to get object sizes from function definition |
| 696 | // arguments, so we can't use them on functions we fortify. Drop the object |
| 697 | // size hints for such functions. |
| 698 | |
| 699 | // Designates dealloc as a function to call to deallocate objects |
| 700 | // allocated by the declared function. |
| 701 | |
| 702 | // Specify that a function such as setjmp or vfork may return |
| 703 | // twice. |
| 704 | |
| 705 | // If we don't have __REDIRECT, prototypes will be missing if |
| 706 | // __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. |
| 707 | |
| 708 | // Decide whether we can define 'extern inline' functions in headers. |
| 709 | |
| 710 | // This is here only because every header file already includes this one. |
| 711 | // Get the definitions of all the appropriate `__stub_FUNCTION' symbols. |
| 712 | // <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub |
| 713 | // that will always return failure (and set errno to ENOSYS). |
| 714 | // This file is automatically generated. |
| 715 | // This file selects the right generated file of `__stub_FUNCTION' macros |
| 716 | // based on the architecture being compiled for. |
| 717 | |
| 718 | // Copyright (C) 1999-2023 Free Software Foundation, Inc. |
| 719 | // This file is part of the GNU C Library. |
| 720 | // |
| 721 | // The GNU C Library is free software; you can redistribute it and/or |
| 722 | // modify it under the terms of the GNU Lesser General Public |
| 723 | // License as published by the Free Software Foundation; either |
| 724 | // version 2.1 of the License, or (at your option) any later version. |
| 725 | // |
| 726 | // The GNU C Library is distributed in the hope that it will be useful, |
| 727 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 728 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 729 | // Lesser General Public License for more details. |
| 730 | // |
| 731 | // You should have received a copy of the GNU Lesser General Public |
| 732 | // License along with the GNU C Library; if not, see |
| 733 | // <https://www.gnu.org/licenses/>. |
| 734 | |
| 735 | // This file is automatically generated. |
| 736 | // It defines a symbol `__stub_FUNCTION' for each function |
| 737 | // in the C library which is a stub, meaning it will fail |
| 738 | // every time called, usually setting errno to ENOSYS. |
| 739 | |
| 740 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 741 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 742 | // This file is part of the GNU C Library. |
| 743 | // |
| 744 | // The GNU C Library is free software; you can redistribute it and/or |
| 745 | // modify it under the terms of the GNU Lesser General Public |
| 746 | // License as published by the Free Software Foundation; either |
| 747 | // version 2.1 of the License, or (at your option) any later version. |
| 748 | // |
| 749 | // The GNU C Library is distributed in the hope that it will be useful, |
| 750 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 751 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 752 | // Lesser General Public License for more details. |
| 753 | // |
| 754 | // You should have received a copy of the GNU Lesser General Public |
| 755 | // License along with the GNU C Library; if not, see |
| 756 | // <https://www.gnu.org/licenses/>. |
| 757 | |
| 758 | // Never include this file directly; use <sys/types.h> instead. |
| 759 | |
| 760 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 761 | // This file is part of the GNU C Library. |
| 762 | // |
| 763 | // The GNU C Library is free software; you can redistribute it and/or |
| 764 | // modify it under the terms of the GNU Lesser General Public |
| 765 | // License as published by the Free Software Foundation; either |
| 766 | // version 2.1 of the License, or (at your option) any later version. |
| 767 | // |
| 768 | // The GNU C Library is distributed in the hope that it will be useful, |
| 769 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 770 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 771 | // Lesser General Public License for more details. |
| 772 | // |
| 773 | // You should have received a copy of the GNU Lesser General Public |
| 774 | // License along with the GNU C Library; if not, see |
| 775 | // <https://www.gnu.org/licenses/>. |
| 776 | |
| 777 | // Copyright (C) 1999-2023 Free Software Foundation, Inc. |
| 778 | // This file is part of the GNU C Library. |
| 779 | // |
| 780 | // The GNU C Library is free software; you can redistribute it and/or |
| 781 | // modify it under the terms of the GNU Lesser General Public |
| 782 | // License as published by the Free Software Foundation; either |
| 783 | // version 2.1 of the License, or (at your option) any later version. |
| 784 | // |
| 785 | // The GNU C Library is distributed in the hope that it will be useful, |
| 786 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 787 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 788 | // Lesser General Public License for more details. |
| 789 | // |
| 790 | // You should have received a copy of the GNU Lesser General Public |
| 791 | // License along with the GNU C Library; if not, see |
| 792 | // <https://www.gnu.org/licenses/>. |
| 793 | |
| 794 | // Bit size of the time_t type at glibc build time, general case. |
| 795 | // Copyright (C) 2018-2023 Free Software Foundation, Inc. |
| 796 | // This file is part of the GNU C Library. |
| 797 | // |
| 798 | // The GNU C Library is free software; you can redistribute it and/or |
| 799 | // modify it under the terms of the GNU Lesser General Public |
| 800 | // License as published by the Free Software Foundation; either |
| 801 | // version 2.1 of the License, or (at your option) any later version. |
| 802 | // |
| 803 | // The GNU C Library is distributed in the hope that it will be useful, |
| 804 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 805 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 806 | // Lesser General Public License for more details. |
| 807 | // |
| 808 | // You should have received a copy of the GNU Lesser General Public |
| 809 | // License along with the GNU C Library; if not, see |
| 810 | // <https://www.gnu.org/licenses/>. |
| 811 | |
| 812 | // Size in bits of the 'time_t' type of the default ABI. |
| 813 | |
| 814 | // Convenience types. |
| 815 | type X__u_char = uint8 /* types.h:31:23 */ |
| 816 | type X__u_short = uint16 /* types.h:32:28 */ |
| 817 | type X__u_int = uint32 /* types.h:33:22 */ |
| 818 | type X__u_long = uint64 /* types.h:34:27 */ |
| 819 | |
| 820 | // Fixed-size types, underlying types depend on word size and compiler. |
| 821 | type X__int8_t = int8 /* types.h:37:21 */ |
| 822 | type X__uint8_t = uint8 /* types.h:38:23 */ |
| 823 | type X__int16_t = int16 /* types.h:39:26 */ |
| 824 | type X__uint16_t = uint16 /* types.h:40:28 */ |
| 825 | type X__int32_t = int32 /* types.h:41:20 */ |
| 826 | type X__uint32_t = uint32 /* types.h:42:22 */ |
| 827 | type X__int64_t = int64 /* types.h:44:25 */ |
| 828 | type X__uint64_t = uint64 /* types.h:45:27 */ |
| 829 | |
| 830 | // Smallest types with at least a given width. |
| 831 | type X__int_least8_t = int8 /* types.h:52:18 */ |
| 832 | type X__uint_least8_t = uint8 /* types.h:53:19 */ |
| 833 | type X__int_least16_t = int16 /* types.h:54:19 */ |
| 834 | type X__uint_least16_t = uint16 /* types.h:55:20 */ |
| 835 | type X__int_least32_t = int32 /* types.h:56:19 */ |
| 836 | type X__uint_least32_t = uint32 /* types.h:57:20 */ |
| 837 | type X__int_least64_t = int64 /* types.h:58:19 */ |
| 838 | type X__uint_least64_t = uint64 /* types.h:59:20 */ |
| 839 | |
| 840 | // quad_t is also 64 bits. |
| 841 | type X__quad_t = int64 /* types.h:63:18 */ |
| 842 | type X__u_quad_t = uint64 /* types.h:64:27 */ |
| 843 | |
| 844 | // Largest integral types. |
| 845 | type X__intmax_t = int64 /* types.h:72:18 */ |
| 846 | type X__uintmax_t = uint64 /* types.h:73:27 */ |
| 847 | |
| 848 | // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE |
| 849 | // macros for each of the OS types we define below. The definitions |
| 850 | // of those macros must use the following macros for underlying types. |
| 851 | // We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned |
| 852 | // variants of each of the following integer types on this machine. |
| 853 | // |
| 854 | // 16 -- "natural" 16-bit type (always short) |
| 855 | // 32 -- "natural" 32-bit type (always int) |
| 856 | // 64 -- "natural" 64-bit type (long or long long) |
| 857 | // LONG32 -- 32-bit type, traditionally long |
| 858 | // QUAD -- 64-bit type, traditionally long long |
| 859 | // WORD -- natural type of __WORDSIZE bits (int or long) |
| 860 | // LONGWORD -- type of __WORDSIZE bits, traditionally long |
| 861 | // |
| 862 | // We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the |
| 863 | // conventional uses of `long' or `long long' type modifiers match the |
| 864 | // types we define, even when a less-adorned type would be the same size. |
| 865 | // This matters for (somewhat) portably writing printf/scanf formats for |
| 866 | // these types, where using the appropriate l or ll format modifiers can |
| 867 | // make the typedefs and the formats match up across all GNU platforms. If |
| 868 | // we used `long' when it's 64 bits where `long long' is expected, then the |
| 869 | // compiler would warn about the formats not matching the argument types, |
| 870 | // and the programmer changing them to shut up the compiler would break the |
| 871 | // program's portability. |
| 872 | // |
| 873 | // Here we assume what is presently the case in all the GCC configurations |
| 874 | // we support: long long is always 64 bits, long is always word/address size, |
| 875 | // and int is always 32 bits. |
| 876 | |
| 877 | // No need to mark the typedef with __extension__. |
| 878 | // bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. |
| 879 | // Copyright (C) 2011-2023 Free Software Foundation, Inc. |
| 880 | // This file is part of the GNU C Library. |
| 881 | // |
| 882 | // The GNU C Library is free software; you can redistribute it and/or |
| 883 | // modify it under the terms of the GNU Lesser General Public |
| 884 | // License as published by the Free Software Foundation; either |
| 885 | // version 2.1 of the License, or (at your option) any later version. |
| 886 | // |
| 887 | // The GNU C Library is distributed in the hope that it will be useful, |
| 888 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 889 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 890 | // Lesser General Public License for more details. |
| 891 | // |
| 892 | // You should have received a copy of the GNU Lesser General Public |
| 893 | // License along with the GNU C Library. If not, see |
| 894 | // <https://www.gnu.org/licenses/>. |
| 895 | |
| 896 | // See <bits/types.h> for the meaning of these macros. This file exists so |
| 897 | // that <bits/types.h> need not vary across different GNU platforms. |
| 898 | |
| 899 | // Tell the libc code that off_t and off64_t are actually the same type |
| 900 | // for all ABI purposes, even if possibly expressed as different base types |
| 901 | // for C type-checking purposes. |
| 902 | |
| 903 | // Same for ino_t and ino64_t. |
| 904 | |
| 905 | // And for __rlim_t and __rlim64_t. |
| 906 | |
| 907 | // And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. |
| 908 | |
| 909 | // And for getitimer, setitimer and rusage |
| 910 | |
| 911 | // Number of descriptors that can fit in an `fd_set'. |
| 912 | |
| 913 | // bits/time64.h -- underlying types for __time64_t. Generic version. |
| 914 | // Copyright (C) 2018-2023 Free Software Foundation, Inc. |
| 915 | // This file is part of the GNU C Library. |
| 916 | // |
| 917 | // The GNU C Library is free software; you can redistribute it and/or |
| 918 | // modify it under the terms of the GNU Lesser General Public |
| 919 | // License as published by the Free Software Foundation; either |
| 920 | // version 2.1 of the License, or (at your option) any later version. |
| 921 | // |
| 922 | // The GNU C Library is distributed in the hope that it will be useful, |
| 923 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 924 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 925 | // Lesser General Public License for more details. |
| 926 | // |
| 927 | // You should have received a copy of the GNU Lesser General Public |
| 928 | // License along with the GNU C Library; if not, see |
| 929 | // <https://www.gnu.org/licenses/>. |
| 930 | |
| 931 | // Define __TIME64_T_TYPE so that it is always a 64-bit type. |
| 932 | |
| 933 | // If we already have 64-bit time type then use it. |
| 934 | |
| 935 | type X__dev_t = uint64 /* types.h:145:25 */ // Type of device numbers. |
| 936 | type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications. |
| 937 | type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications. |
| 938 | type X__ino_t = uint64 /* types.h:148:25 */ // Type of file serial numbers. |
| 939 | type X__ino64_t = uint64 /* types.h:149:27 */ // Type of file serial numbers (LFS). |
| 940 | type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks. |
| 941 | type X__nlink_t = uint32 /* types.h:151:27 */ // Type of file link counts. |
| 942 | type X__off_t = int64 /* types.h:152:25 */ // Type of file sizes and offsets. |
| 943 | type X__off64_t = int64 /* types.h:153:27 */ // Type of file sizes and offsets (LFS). |
| 944 | type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications. |
| 945 | type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs. |
| 946 | type X__clock_t = int64 /* types.h:156:27 */ // Type of CPU usage counts. |
| 947 | type X__rlim_t = uint64 /* types.h:157:26 */ // Type for resource measurement. |
| 948 | type X__rlim64_t = uint64 /* types.h:158:28 */ // Type for resource measurement (LFS). |
| 949 | type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs. |
| 950 | type X__time_t = int64 /* types.h:160:26 */ // Seconds since the Epoch. |
| 951 | type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds. |
| 952 | type X__suseconds_t = int64 /* types.h:162:31 */ // Signed count of microseconds. |
| 953 | type X__suseconds64_t = int64 /* types.h:163:33 */ |
| 954 | |
| 955 | type X__daddr_t = int32 /* types.h:165:27 */ // The type of a disk address. |
| 956 | type X__key_t = int32 /* types.h:166:25 */ // Type of an IPC key. |
| 957 | |
| 958 | // Clock ID used in clock and timer functions. |
| 959 | type X__clockid_t = int32 /* types.h:169:29 */ |
| 960 | |
| 961 | // Timer ID returned by `timer_create'. |
| 962 | type X__timer_t = uintptr /* types.h:172:12 */ |
| 963 | |
| 964 | // Type to represent block size. |
| 965 | type X__blksize_t = int32 /* types.h:175:29 */ |
| 966 | |
| 967 | // Types from the Large File Support interface. |
| 968 | |
| 969 | // Type to count number of disk blocks. |
| 970 | type X__blkcnt_t = int64 /* types.h:180:28 */ |
| 971 | type X__blkcnt64_t = int64 /* types.h:181:30 */ |
| 972 | |
| 973 | // Type to count file system blocks. |
| 974 | type X__fsblkcnt_t = uint64 /* types.h:184:30 */ |
| 975 | type X__fsblkcnt64_t = uint64 /* types.h:185:32 */ |
| 976 | |
| 977 | // Type to count file system nodes. |
| 978 | type X__fsfilcnt_t = uint64 /* types.h:188:30 */ |
| 979 | type X__fsfilcnt64_t = uint64 /* types.h:189:32 */ |
| 980 | |
| 981 | // Type of miscellaneous file system fields. |
| 982 | type X__fsword_t = int64 /* types.h:192:28 */ |
| 983 | |
| 984 | type X__ssize_t = int64 /* types.h:194:27 */ // Type of a byte count, or error. |
| 985 | |
| 986 | // Signed long type used in system calls. |
| 987 | type X__syscall_slong_t = int64 /* types.h:197:33 */ |
| 988 | // Unsigned long type used in system calls. |
| 989 | type X__syscall_ulong_t = uint64 /* types.h:199:33 */ |
| 990 | |
| 991 | // These few don't really vary by system, they always correspond |
| 992 | // |
| 993 | // to one of the other defined types. |
| 994 | type X__loff_t = int64 /* types.h:203:19 */ // Type of file sizes and offsets (LFS). |
| 995 | type X__caddr_t = uintptr /* types.h:204:14 */ |
| 996 | |
| 997 | // Duplicates info from stdint.h but this is used in unistd.h. |
| 998 | type X__intptr_t = int64 /* types.h:207:25 */ |
| 999 | |
| 1000 | // Duplicate info from sys/socket.h. |
| 1001 | type X__socklen_t = uint32 /* types.h:210:23 */ |
| 1002 | |
| 1003 | // C99: An integer type that can be accessed as an atomic entity, |
| 1004 | // |
| 1005 | // even in the presence of asynchronous interrupts. |
| 1006 | // It is not currently necessary for this to be machine-specific. |
| 1007 | type X__sig_atomic_t = int32 /* types.h:215:13 */ |
| 1008 | |
| 1009 | // Seconds since the Epoch, visible to user code when time_t is too |
| 1010 | // narrow only for consistency with the old way of widening too-narrow |
| 1011 | // types. User code should never use __time64_t. |
| 1012 | |
| 1013 | type U_char = uint8 /* types.h:33:18 */ |
| 1014 | type U_short = uint16 /* types.h:34:19 */ |
| 1015 | type U_int = uint32 /* types.h:35:17 */ |
| 1016 | type U_long = uint64 /* types.h:36:18 */ |
| 1017 | type Quad_t = int64 /* types.h:37:18 */ |
| 1018 | type U_quad_t = uint64 /* types.h:38:20 */ |
| 1019 | type Fsid_t = X__fsid_t /* types.h:39:18 */ |
| 1020 | type Loff_t = int64 /* types.h:42:18 */ |
| 1021 | |
| 1022 | type Ino_t = uint64 /* types.h:49:19 */ |
| 1023 | |
| 1024 | type Dev_t = uint64 /* types.h:59:17 */ |
| 1025 | |
| 1026 | type Gid_t = uint32 /* types.h:64:17 */ |
| 1027 | |
| 1028 | type Mode_t = uint32 /* types.h:69:18 */ |
| 1029 | |
| 1030 | type Nlink_t = uint32 /* types.h:74:19 */ |
| 1031 | |
| 1032 | type Uid_t = uint32 /* types.h:79:17 */ |
| 1033 | |
| 1034 | type Off_t = int64 /* types.h:87:19 */ |
| 1035 | |
| 1036 | type Pid_t = int32 /* types.h:97:17 */ |
| 1037 | |
| 1038 | type Id_t = uint32 /* types.h:103:16 */ |
| 1039 | |
| 1040 | type Ssize_t = int64 /* types.h:108:19 */ |
| 1041 | |
| 1042 | type Daddr_t = int32 /* types.h:114:19 */ |
| 1043 | type Caddr_t = uintptr /* types.h:115:19 */ |
| 1044 | |
| 1045 | type Key_t = int32 /* types.h:121:17 */ |
| 1046 | |
| 1047 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 1048 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 1049 | // This file is part of the GNU C Library. |
| 1050 | // |
| 1051 | // The GNU C Library is free software; you can redistribute it and/or |
| 1052 | // modify it under the terms of the GNU Lesser General Public |
| 1053 | // License as published by the Free Software Foundation; either |
| 1054 | // version 2.1 of the License, or (at your option) any later version. |
| 1055 | // |
| 1056 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1057 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1058 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1059 | // Lesser General Public License for more details. |
| 1060 | // |
| 1061 | // You should have received a copy of the GNU Lesser General Public |
| 1062 | // License along with the GNU C Library; if not, see |
| 1063 | // <https://www.gnu.org/licenses/>. |
| 1064 | |
| 1065 | // Never include this file directly; use <sys/types.h> instead. |
| 1066 | |
| 1067 | // Returned by `clock'. |
| 1068 | type Clock_t = int64 /* clock_t.h:7:19 */ |
| 1069 | |
| 1070 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 1071 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 1072 | // This file is part of the GNU C Library. |
| 1073 | // |
| 1074 | // The GNU C Library is free software; you can redistribute it and/or |
| 1075 | // modify it under the terms of the GNU Lesser General Public |
| 1076 | // License as published by the Free Software Foundation; either |
| 1077 | // version 2.1 of the License, or (at your option) any later version. |
| 1078 | // |
| 1079 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1080 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1081 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1082 | // Lesser General Public License for more details. |
| 1083 | // |
| 1084 | // You should have received a copy of the GNU Lesser General Public |
| 1085 | // License along with the GNU C Library; if not, see |
| 1086 | // <https://www.gnu.org/licenses/>. |
| 1087 | |
| 1088 | // Never include this file directly; use <sys/types.h> instead. |
| 1089 | |
| 1090 | // Clock ID used in clock and timer functions. |
| 1091 | type Clockid_t = int32 /* clockid_t.h:7:21 */ |
| 1092 | |
| 1093 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 1094 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 1095 | // This file is part of the GNU C Library. |
| 1096 | // |
| 1097 | // The GNU C Library is free software; you can redistribute it and/or |
| 1098 | // modify it under the terms of the GNU Lesser General Public |
| 1099 | // License as published by the Free Software Foundation; either |
| 1100 | // version 2.1 of the License, or (at your option) any later version. |
| 1101 | // |
| 1102 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1103 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1104 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1105 | // Lesser General Public License for more details. |
| 1106 | // |
| 1107 | // You should have received a copy of the GNU Lesser General Public |
| 1108 | // License along with the GNU C Library; if not, see |
| 1109 | // <https://www.gnu.org/licenses/>. |
| 1110 | |
| 1111 | // Never include this file directly; use <sys/types.h> instead. |
| 1112 | |
| 1113 | // Returned by `time'. |
| 1114 | type Time_t = int64 /* time_t.h:10:18 */ |
| 1115 | |
| 1116 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 1117 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 1118 | // This file is part of the GNU C Library. |
| 1119 | // |
| 1120 | // The GNU C Library is free software; you can redistribute it and/or |
| 1121 | // modify it under the terms of the GNU Lesser General Public |
| 1122 | // License as published by the Free Software Foundation; either |
| 1123 | // version 2.1 of the License, or (at your option) any later version. |
| 1124 | // |
| 1125 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1126 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1127 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1128 | // Lesser General Public License for more details. |
| 1129 | // |
| 1130 | // You should have received a copy of the GNU Lesser General Public |
| 1131 | // License along with the GNU C Library; if not, see |
| 1132 | // <https://www.gnu.org/licenses/>. |
| 1133 | |
| 1134 | // Never include this file directly; use <sys/types.h> instead. |
| 1135 | |
| 1136 | // Timer ID returned by `timer_create'. |
| 1137 | type Timer_t = uintptr /* timer_t.h:7:19 */ |
| 1138 | |
| 1139 | // Wide character type. |
| 1140 | // Locale-writers should change this as necessary to |
| 1141 | // be big enough to hold unique values not between 0 and 127, |
| 1142 | // and not (wchar_t) -1, for each defined multibyte character. |
| 1143 | |
| 1144 | // Define this type if we are doing the whole job, |
| 1145 | // or if we want this type in particular. |
| 1146 | |
| 1147 | // A null pointer constant. |
| 1148 | |
| 1149 | // Old compatibility names for C types. |
| 1150 | type Ulong = uint64 /* types.h:148:27 */ |
| 1151 | type Ushort = uint16 /* types.h:149:28 */ |
| 1152 | type Uint = uint32 /* types.h:150:22 */ |
| 1153 | |
| 1154 | // These size-specific names are used by some of the inet code. |
| 1155 | |
| 1156 | // Define intN_t types. |
| 1157 | // Copyright (C) 2017-2023 Free Software Foundation, Inc. |
| 1158 | // This file is part of the GNU C Library. |
| 1159 | // |
| 1160 | // The GNU C Library is free software; you can redistribute it and/or |
| 1161 | // modify it under the terms of the GNU Lesser General Public |
| 1162 | // License as published by the Free Software Foundation; either |
| 1163 | // version 2.1 of the License, or (at your option) any later version. |
| 1164 | // |
| 1165 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1166 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1167 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1168 | // Lesser General Public License for more details. |
| 1169 | // |
| 1170 | // You should have received a copy of the GNU Lesser General Public |
| 1171 | // License along with the GNU C Library; if not, see |
| 1172 | // <https://www.gnu.org/licenses/>. |
| 1173 | |
| 1174 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 1175 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 1176 | // This file is part of the GNU C Library. |
| 1177 | // |
| 1178 | // The GNU C Library is free software; you can redistribute it and/or |
| 1179 | // modify it under the terms of the GNU Lesser General Public |
| 1180 | // License as published by the Free Software Foundation; either |
| 1181 | // version 2.1 of the License, or (at your option) any later version. |
| 1182 | // |
| 1183 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1184 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1185 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1186 | // Lesser General Public License for more details. |
| 1187 | // |
| 1188 | // You should have received a copy of the GNU Lesser General Public |
| 1189 | // License along with the GNU C Library; if not, see |
| 1190 | // <https://www.gnu.org/licenses/>. |
| 1191 | |
| 1192 | // Never include this file directly; use <sys/types.h> instead. |
| 1193 | |
| 1194 | type Int8_t = int8 /* stdint-intn.h:24:18 */ |
| 1195 | type Int16_t = int16 /* stdint-intn.h:25:19 */ |
| 1196 | type Int32_t = int32 /* stdint-intn.h:26:19 */ |
| 1197 | type Int64_t = int64 /* stdint-intn.h:27:19 */ |
| 1198 | |
| 1199 | // These were defined by ISO C without the first `_'. |
| 1200 | type U_int8_t = uint8 /* types.h:158:19 */ |
| 1201 | type U_int16_t = uint16 /* types.h:159:20 */ |
| 1202 | type U_int32_t = uint32 /* types.h:160:20 */ |
| 1203 | type U_int64_t = uint64 /* types.h:161:20 */ |
| 1204 | |
| 1205 | type Register_t = int32 /* types.h:164:13 */ |
| 1206 | |
| 1207 | // It also defines `fd_set' and the FD_* macros for `select'. |
| 1208 | // `fd_set' type and related macros, and `select'/`pselect' declarations. |
| 1209 | // Copyright (C) 1996-2023 Free Software Foundation, Inc. |
| 1210 | // This file is part of the GNU C Library. |
| 1211 | // |
| 1212 | // The GNU C Library is free software; you can redistribute it and/or |
| 1213 | // modify it under the terms of the GNU Lesser General Public |
| 1214 | // License as published by the Free Software Foundation; either |
| 1215 | // version 2.1 of the License, or (at your option) any later version. |
| 1216 | // |
| 1217 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1218 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1219 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1220 | // Lesser General Public License for more details. |
| 1221 | // |
| 1222 | // You should have received a copy of the GNU Lesser General Public |
| 1223 | // License along with the GNU C Library; if not, see |
| 1224 | // <https://www.gnu.org/licenses/>. |
| 1225 | |
| 1226 | // POSIX 1003.1g: 6.2 Select from File Descriptor Sets <sys/select.h> |
| 1227 | |
| 1228 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 1229 | // This file is part of the GNU C Library. |
| 1230 | // |
| 1231 | // The GNU C Library is free software; you can redistribute it and/or |
| 1232 | // modify it under the terms of the GNU Lesser General Public |
| 1233 | // License as published by the Free Software Foundation; either |
| 1234 | // version 2.1 of the License, or (at your option) any later version. |
| 1235 | // |
| 1236 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1237 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1238 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1239 | // Lesser General Public License for more details. |
| 1240 | // |
| 1241 | // You should have received a copy of the GNU Lesser General Public |
| 1242 | // License along with the GNU C Library; if not, see |
| 1243 | // <https://www.gnu.org/licenses/>. |
| 1244 | |
| 1245 | // Get definition of needed basic types. |
| 1246 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 1247 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 1248 | // This file is part of the GNU C Library. |
| 1249 | // |
| 1250 | // The GNU C Library is free software; you can redistribute it and/or |
| 1251 | // modify it under the terms of the GNU Lesser General Public |
| 1252 | // License as published by the Free Software Foundation; either |
| 1253 | // version 2.1 of the License, or (at your option) any later version. |
| 1254 | // |
| 1255 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1256 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1257 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1258 | // Lesser General Public License for more details. |
| 1259 | // |
| 1260 | // You should have received a copy of the GNU Lesser General Public |
| 1261 | // License along with the GNU C Library; if not, see |
| 1262 | // <https://www.gnu.org/licenses/>. |
| 1263 | |
| 1264 | // Never include this file directly; use <sys/types.h> instead. |
| 1265 | |
| 1266 | // Get __FD_* definitions. |
| 1267 | // Copyright (C) 1997-2023 Free Software Foundation, Inc. |
| 1268 | // This file is part of the GNU C Library. |
| 1269 | // |
| 1270 | // The GNU C Library is free software; you can redistribute it and/or |
| 1271 | // modify it under the terms of the GNU Lesser General Public |
| 1272 | // License as published by the Free Software Foundation; either |
| 1273 | // version 2.1 of the License, or (at your option) any later version. |
| 1274 | // |
| 1275 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1276 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1277 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1278 | // Lesser General Public License for more details. |
| 1279 | // |
| 1280 | // You should have received a copy of the GNU Lesser General Public |
| 1281 | // License along with the GNU C Library; if not, see |
| 1282 | // <https://www.gnu.org/licenses/>. |
| 1283 | |
| 1284 | // We don't use `memset' because this would require a prototype and |
| 1285 | // the array isn't too big. |
| 1286 | |
| 1287 | // Get sigset_t. |
| 1288 | |
| 1289 | type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */ |
| 1290 | |
| 1291 | // A set of signals to be blocked, unblocked, or waited for. |
| 1292 | type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */ |
| 1293 | |
| 1294 | // Get definition of timer specification structures. |
| 1295 | |
| 1296 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 1297 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 1298 | // This file is part of the GNU C Library. |
| 1299 | // |
| 1300 | // The GNU C Library is free software; you can redistribute it and/or |
| 1301 | // modify it under the terms of the GNU Lesser General Public |
| 1302 | // License as published by the Free Software Foundation; either |
| 1303 | // version 2.1 of the License, or (at your option) any later version. |
| 1304 | // |
| 1305 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1306 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1307 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1308 | // Lesser General Public License for more details. |
| 1309 | // |
| 1310 | // You should have received a copy of the GNU Lesser General Public |
| 1311 | // License along with the GNU C Library; if not, see |
| 1312 | // <https://www.gnu.org/licenses/>. |
| 1313 | |
| 1314 | // Never include this file directly; use <sys/types.h> instead. |
| 1315 | |
| 1316 | // A time value that is accurate to the nearest |
| 1317 | // |
| 1318 | // microsecond but also has a range of years. |
| 1319 | type Timeval = struct { |
| 1320 | Ftv_sec int64 |
| 1321 | Ftv_usec int64 |
| 1322 | } /* struct_timeval.h:8:1 */ |
| 1323 | |
| 1324 | // NB: Include guard matches what <linux/time.h> uses. |
| 1325 | |
| 1326 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 1327 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 1328 | // This file is part of the GNU C Library. |
| 1329 | // |
| 1330 | // The GNU C Library is free software; you can redistribute it and/or |
| 1331 | // modify it under the terms of the GNU Lesser General Public |
| 1332 | // License as published by the Free Software Foundation; either |
| 1333 | // version 2.1 of the License, or (at your option) any later version. |
| 1334 | // |
| 1335 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1336 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1337 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1338 | // Lesser General Public License for more details. |
| 1339 | // |
| 1340 | // You should have received a copy of the GNU Lesser General Public |
| 1341 | // License along with the GNU C Library; if not, see |
| 1342 | // <https://www.gnu.org/licenses/>. |
| 1343 | |
| 1344 | // Never include this file directly; use <sys/types.h> instead. |
| 1345 | |
| 1346 | // Endian macros for string.h functions |
| 1347 | // Copyright (C) 1992-2023 Free Software Foundation, Inc. |
| 1348 | // This file is part of the GNU C Library. |
| 1349 | // |
| 1350 | // The GNU C Library is free software; you can redistribute it and/or |
| 1351 | // modify it under the terms of the GNU Lesser General Public |
| 1352 | // License as published by the Free Software Foundation; either |
| 1353 | // version 2.1 of the License, or (at your option) any later version. |
| 1354 | // |
| 1355 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1356 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1357 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1358 | // Lesser General Public License for more details. |
| 1359 | // |
| 1360 | // You should have received a copy of the GNU Lesser General Public |
| 1361 | // License along with the GNU C Library; if not, see |
| 1362 | // <http://www.gnu.org/licenses/>. |
| 1363 | |
| 1364 | // POSIX.1b structure for a time value. This is like a `struct timeval' but |
| 1365 | // |
| 1366 | // has nanoseconds instead of microseconds. |
| 1367 | type Timespec = struct { |
| 1368 | Ftv_sec int64 |
| 1369 | Ftv_nsec int64 |
| 1370 | } /* struct_timespec.h:11:1 */ |
| 1371 | |
| 1372 | type Suseconds_t = int64 /* select.h:43:23 */ |
| 1373 | |
| 1374 | // The fd_set member is required to be an array of longs. |
| 1375 | type X__fd_mask = int64 /* select.h:49:18 */ |
| 1376 | |
| 1377 | // Some versions of <linux/posix_types.h> define this macros. |
| 1378 | // It's easier to assume 8-bit bytes than to get CHAR_BIT. |
| 1379 | |
| 1380 | // fd_set for select and pselect. |
| 1381 | type Fd_set = struct{ F__fds_bits [16]int64 } /* select.h:70:5 */ |
| 1382 | |
| 1383 | // Maximum number of file descriptors in `fd_set'. |
| 1384 | |
| 1385 | // Sometimes the fd_set member is assumed to have this type. |
| 1386 | type Fd_mask = int64 /* select.h:77:19 */ |
| 1387 | |
| 1388 | // Define some inlines helping to catch common problems. |
| 1389 | |
| 1390 | type Blksize_t = int32 /* types.h:185:21 */ |
| 1391 | |
| 1392 | // Types from the Large File Support interface. |
| 1393 | type Blkcnt_t = int64 /* types.h:205:22 */ // Type to count number of disk blocks. |
| 1394 | type Fsblkcnt_t = uint64 /* types.h:209:24 */ // Type to count file system blocks. |
| 1395 | type Fsfilcnt_t = uint64 /* types.h:213:24 */ // Type to count file system inodes. |
| 1396 | |
| 1397 | // Now add the thread types. |
| 1398 | // Declaration of common pthread types for all architectures. |
| 1399 | // Copyright (C) 2017-2023 Free Software Foundation, Inc. |
| 1400 | // This file is part of the GNU C Library. |
| 1401 | // |
| 1402 | // The GNU C Library is free software; you can redistribute it and/or |
| 1403 | // modify it under the terms of the GNU Lesser General Public |
| 1404 | // License as published by the Free Software Foundation; either |
| 1405 | // version 2.1 of the License, or (at your option) any later version. |
| 1406 | // |
| 1407 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1408 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1409 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1410 | // Lesser General Public License for more details. |
| 1411 | // |
| 1412 | // You should have received a copy of the GNU Lesser General Public |
| 1413 | // License along with the GNU C Library; if not, see |
| 1414 | // <https://www.gnu.org/licenses/>. |
| 1415 | |
| 1416 | // For internal mutex and condition variable definitions. |
| 1417 | // Common threading primitives definitions for both POSIX and C11. |
| 1418 | // Copyright (C) 2017-2023 Free Software Foundation, Inc. |
| 1419 | // This file is part of the GNU C Library. |
| 1420 | // |
| 1421 | // The GNU C Library is free software; you can redistribute it and/or |
| 1422 | // modify it under the terms of the GNU Lesser General Public |
| 1423 | // License as published by the Free Software Foundation; either |
| 1424 | // version 2.1 of the License, or (at your option) any later version. |
| 1425 | // |
| 1426 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1427 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1428 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1429 | // Lesser General Public License for more details. |
| 1430 | // |
| 1431 | // You should have received a copy of the GNU Lesser General Public |
| 1432 | // License along with the GNU C Library; if not, see |
| 1433 | // <https://www.gnu.org/licenses/>. |
| 1434 | |
| 1435 | // Arch-specific definitions. Each architecture must define the following |
| 1436 | // macros to define the expected sizes of pthread data types: |
| 1437 | // |
| 1438 | // __SIZEOF_PTHREAD_ATTR_T - size of pthread_attr_t. |
| 1439 | // __SIZEOF_PTHREAD_MUTEX_T - size of pthread_mutex_t. |
| 1440 | // __SIZEOF_PTHREAD_MUTEXATTR_T - size of pthread_mutexattr_t. |
| 1441 | // __SIZEOF_PTHREAD_COND_T - size of pthread_cond_t. |
| 1442 | // __SIZEOF_PTHREAD_CONDATTR_T - size of pthread_condattr_t. |
| 1443 | // __SIZEOF_PTHREAD_RWLOCK_T - size of pthread_rwlock_t. |
| 1444 | // __SIZEOF_PTHREAD_RWLOCKATTR_T - size of pthread_rwlockattr_t. |
| 1445 | // __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t. |
| 1446 | // __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t. |
| 1447 | // |
| 1448 | // The additional macro defines any constraint for the lock alignment |
| 1449 | // inside the thread structures: |
| 1450 | // |
| 1451 | // __LOCK_ALIGNMENT - for internal lock/futex usage. |
| 1452 | // |
| 1453 | // Same idea but for the once locking primitive: |
| 1454 | // |
| 1455 | // __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition. |
| 1456 | |
| 1457 | // Machine-specific pthread type layouts. Generic version. |
| 1458 | // Copyright (C) 2019-2023 Free Software Foundation, Inc. |
| 1459 | // |
| 1460 | // This file is part of the GNU C Library. |
| 1461 | // |
| 1462 | // The GNU C Library is free software; you can redistribute it and/or |
| 1463 | // modify it under the terms of the GNU Lesser General Public |
| 1464 | // License as published by the Free Software Foundation; either |
| 1465 | // version 2.1 of the License, or (at your option) any later version. |
| 1466 | // |
| 1467 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1468 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1469 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1470 | // Lesser General Public License for more details. |
| 1471 | // |
| 1472 | // You should have received a copy of the GNU Lesser General Public |
| 1473 | // License along with the GNU C Library; if not, see |
| 1474 | // <http://www.gnu.org/licenses/>. |
| 1475 | |
| 1476 | // Copyright (C) 1999-2023 Free Software Foundation, Inc. |
| 1477 | // This file is part of the GNU C Library. |
| 1478 | // |
| 1479 | // The GNU C Library is free software; you can redistribute it and/or |
| 1480 | // modify it under the terms of the GNU Lesser General Public |
| 1481 | // License as published by the Free Software Foundation; either |
| 1482 | // version 2.1 of the License, or (at your option) any later version. |
| 1483 | // |
| 1484 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1485 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1486 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1487 | // Lesser General Public License for more details. |
| 1488 | // |
| 1489 | // You should have received a copy of the GNU Lesser General Public |
| 1490 | // License along with the GNU C Library; if not, see |
| 1491 | // <https://www.gnu.org/licenses/>. |
| 1492 | |
| 1493 | // Monotonically increasing wide counters (at least 62 bits). |
| 1494 | // Copyright (C) 2016-2023 Free Software Foundation, Inc. |
| 1495 | // This file is part of the GNU C Library. |
| 1496 | // |
| 1497 | // The GNU C Library is free software; you can redistribute it and/or |
| 1498 | // modify it under the terms of the GNU Lesser General Public |
| 1499 | // License as published by the Free Software Foundation; either |
| 1500 | // version 2.1 of the License, or (at your option) any later version. |
| 1501 | // |
| 1502 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1503 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1504 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1505 | // Lesser General Public License for more details. |
| 1506 | // |
| 1507 | // You should have received a copy of the GNU Lesser General Public |
| 1508 | // License along with the GNU C Library; if not, see |
| 1509 | // <https://www.gnu.org/licenses/>. |
| 1510 | |
| 1511 | // Counter that is monotonically increasing (by less than 2**31 per |
| 1512 | // |
| 1513 | // increment), with a single writer, and an arbitrary number of |
| 1514 | // readers. |
| 1515 | type X__atomic_wide_counter = struct{ F__value64 uint64 } /* atomic_wide_counter.h:33:3 */ |
| 1516 | |
| 1517 | // Common definition of pthread_mutex_t. |
| 1518 | |
| 1519 | type X__pthread_internal_list = struct { |
| 1520 | F__prev uintptr |
| 1521 | F__next uintptr |
| 1522 | } /* thread-shared-types.h:51:9 */ |
| 1523 | |
| 1524 | // Common definition of pthread_mutex_t. |
| 1525 | |
| 1526 | type X__pthread_list_t = X__pthread_internal_list /* thread-shared-types.h:55:3 */ |
| 1527 | |
| 1528 | type X__pthread_internal_slist = struct{ F__next uintptr } /* thread-shared-types.h:57:9 */ |
| 1529 | |
| 1530 | type X__pthread_slist_t = X__pthread_internal_slist /* thread-shared-types.h:60:3 */ |
| 1531 | |
| 1532 | // Arch-specific mutex definitions. A generic implementation is provided |
| 1533 | // by sysdeps/nptl/bits/struct_mutex.h. If required, an architecture |
| 1534 | // can override it by defining: |
| 1535 | // |
| 1536 | // 1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t |
| 1537 | // definition). It should contains at least the internal members |
| 1538 | // defined in the generic version. |
| 1539 | // |
| 1540 | // 2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with |
| 1541 | // atomic operations. |
| 1542 | // |
| 1543 | // 3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization. |
| 1544 | // It should initialize the mutex internal flag. |
| 1545 | |
| 1546 | // Default mutex implementation struct definitions. |
| 1547 | // Copyright (C) 2019-2023 Free Software Foundation, Inc. |
| 1548 | // This file is part of the GNU C Library. |
| 1549 | // |
| 1550 | // The GNU C Library is free software; you can redistribute it and/or |
| 1551 | // modify it under the terms of the GNU Lesser General Public |
| 1552 | // License as published by the Free Software Foundation; either |
| 1553 | // version 2.1 of the License, or (at your option) any later version. |
| 1554 | // |
| 1555 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1556 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1557 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1558 | // Lesser General Public License for more details. |
| 1559 | // |
| 1560 | // You should have received a copy of the GNU Lesser General Public |
| 1561 | // License along with the GNU C Library; if not, see |
| 1562 | // <http://www.gnu.org/licenses/>. |
| 1563 | |
| 1564 | // Generic struct for both POSIX and C11 mutexes. New ports are expected |
| 1565 | // to use the default layout, however architecture can redefine it to |
| 1566 | // add arch-specific extension (such as lock-elision). The struct have |
| 1567 | // a size of 32 bytes on LP32 and 40 bytes on LP64 architectures. |
| 1568 | |
| 1569 | type X__pthread_mutex_s = struct { |
| 1570 | F__lock int32 |
| 1571 | F__count uint32 |
| 1572 | F__owner int32 |
| 1573 | F__nusers uint32 |
| 1574 | F__kind int32 |
| 1575 | F__spins int32 |
| 1576 | F__list X__pthread_list_t |
| 1577 | } /* struct_mutex.h:27:1 */ |
| 1578 | |
| 1579 | // Arch-sepecific read-write lock definitions. A generic implementation is |
| 1580 | // provided by struct_rwlock.h. If required, an architecture can override it |
| 1581 | // by defining: |
| 1582 | // |
| 1583 | // 1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition). |
| 1584 | // It should contain at least the internal members defined in the |
| 1585 | // generic version. |
| 1586 | // |
| 1587 | // 2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization. |
| 1588 | // It should initialize the rwlock internal type. |
| 1589 | |
| 1590 | // Default read-write lock implementation struct definitions. |
| 1591 | // Copyright (C) 2019-2023 Free Software Foundation, Inc. |
| 1592 | // This file is part of the GNU C Library. |
| 1593 | // |
| 1594 | // The GNU C Library is free software; you can redistribute it and/or |
| 1595 | // modify it under the terms of the GNU Lesser General Public |
| 1596 | // License as published by the Free Software Foundation; either |
| 1597 | // version 2.1 of the License, or (at your option) any later version. |
| 1598 | // |
| 1599 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1600 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1601 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1602 | // Lesser General Public License for more details. |
| 1603 | // |
| 1604 | // You should have received a copy of the GNU Lesser General Public |
| 1605 | // License along with the GNU C Library; if not, see |
| 1606 | // <http://www.gnu.org/licenses/>. |
| 1607 | |
| 1608 | // Endian macros for string.h functions |
| 1609 | // Copyright (C) 1992-2023 Free Software Foundation, Inc. |
| 1610 | // This file is part of the GNU C Library. |
| 1611 | // |
| 1612 | // The GNU C Library is free software; you can redistribute it and/or |
| 1613 | // modify it under the terms of the GNU Lesser General Public |
| 1614 | // License as published by the Free Software Foundation; either |
| 1615 | // version 2.1 of the License, or (at your option) any later version. |
| 1616 | // |
| 1617 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1618 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1619 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1620 | // Lesser General Public License for more details. |
| 1621 | // |
| 1622 | // You should have received a copy of the GNU Lesser General Public |
| 1623 | // License along with the GNU C Library; if not, see |
| 1624 | // <http://www.gnu.org/licenses/>. |
| 1625 | |
| 1626 | // Generic struct for both POSIX read-write lock. New ports are expected |
| 1627 | // to use the default layout, however archictetures can redefine it to add |
| 1628 | // arch-specific extensions (such as lock-elision). The struct have a size |
| 1629 | // of 32 bytes on both LP32 and LP64 architectures. |
| 1630 | |
| 1631 | type X__pthread_rwlock_arch_t = struct { |
| 1632 | F__readers uint32 |
| 1633 | F__writers uint32 |
| 1634 | F__wrphase_futex uint32 |
| 1635 | F__writers_futex uint32 |
| 1636 | F__pad3 uint32 |
| 1637 | F__pad4 uint32 |
| 1638 | F__flags uint8 |
| 1639 | F__shared uint8 |
| 1640 | F__pad1 uint8 |
| 1641 | F__pad2 uint8 |
| 1642 | F__cur_writer int32 |
| 1643 | } /* struct_rwlock.h:29:1 */ |
| 1644 | |
| 1645 | // Common definition of pthread_cond_t. |
| 1646 | |
| 1647 | type X__pthread_cond_s = struct { |
| 1648 | F__wseq X__atomic_wide_counter |
| 1649 | F__g1_start X__atomic_wide_counter |
| 1650 | F__g_refs [2]uint32 |
| 1651 | F__g_size [2]uint32 |
| 1652 | F__g1_orig_size uint32 |
| 1653 | F__wrefs uint32 |
| 1654 | F__g_signals [2]uint32 |
| 1655 | } /* thread-shared-types.h:94:1 */ |
| 1656 | |
| 1657 | type X__tss_t = uint32 /* thread-shared-types.h:105:22 */ |
| 1658 | type X__thrd_t = uint64 /* thread-shared-types.h:106:27 */ |
| 1659 | |
| 1660 | type X__once_flag = struct{ F__data int32 } /* thread-shared-types.h:111:3 */ |
| 1661 | |
| 1662 | // Thread identifiers. The structure of the attribute type is not |
| 1663 | // |
| 1664 | // exposed on purpose. |
| 1665 | type Pthread_t = uint64 /* pthreadtypes.h:27:27 */ |
| 1666 | |
| 1667 | // Data structures for mutex handling. The structure of the attribute |
| 1668 | // |
| 1669 | // type is not exposed on purpose. |
| 1670 | type Pthread_mutexattr_t = struct { |
| 1671 | F__ccgo_pad1 [0]uint32 |
| 1672 | F__size [4]int8 |
| 1673 | } /* pthreadtypes.h:36:3 */ |
| 1674 | |
| 1675 | // Data structure for condition variable handling. The structure of |
| 1676 | // |
| 1677 | // the attribute type is not exposed on purpose. |
| 1678 | type Pthread_condattr_t = struct { |
| 1679 | F__ccgo_pad1 [0]uint32 |
| 1680 | F__size [4]int8 |
| 1681 | } /* pthreadtypes.h:45:3 */ |
| 1682 | |
| 1683 | // Keys for thread-specific data |
| 1684 | type Pthread_key_t = uint32 /* pthreadtypes.h:49:22 */ |
| 1685 | |
| 1686 | // Once-only execution |
| 1687 | type Pthread_once_t = int32 /* pthreadtypes.h:53:30 */ |
| 1688 | |
| 1689 | type Pthread_attr_t1 = struct { |
| 1690 | F__ccgo_pad1 [0]uint64 |
| 1691 | F__size [56]int8 |
| 1692 | } /* pthreadtypes.h:56:1 */ |
| 1693 | |
| 1694 | type Pthread_attr_t = Pthread_attr_t1 /* pthreadtypes.h:62:30 */ |
| 1695 | |
| 1696 | type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72:3 */ |
| 1697 | |
| 1698 | type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */ |
| 1699 | |
| 1700 | // Data structure for reader-writer lock variable handling. The |
| 1701 | // |
| 1702 | // structure of the attribute type is deliberately not exposed. |
| 1703 | type Pthread_rwlock_t = struct { |
| 1704 | F__ccgo_pad1 [0]uint64 |
| 1705 | F__data X__pthread_rwlock_arch_t |
| 1706 | F__ccgo_pad2 [24]byte |
| 1707 | } /* pthreadtypes.h:91:3 */ |
| 1708 | |
| 1709 | type Pthread_rwlockattr_t = struct { |
| 1710 | F__ccgo_pad1 [0]uint64 |
| 1711 | F__size [8]int8 |
| 1712 | } /* pthreadtypes.h:97:3 */ |
| 1713 | |
| 1714 | // POSIX spinlock data type. |
| 1715 | type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */ |
| 1716 | |
| 1717 | // POSIX barriers data type. The structure of the type is |
| 1718 | // |
| 1719 | // deliberately not exposed. |
| 1720 | type Pthread_barrier_t = struct { |
| 1721 | F__ccgo_pad1 [0]uint64 |
| 1722 | F__size [32]int8 |
| 1723 | } /* pthreadtypes.h:112:3 */ |
| 1724 | |
| 1725 | type Pthread_barrierattr_t = struct { |
| 1726 | F__ccgo_pad1 [0]uint32 |
| 1727 | F__size [4]int8 |
| 1728 | } /* pthreadtypes.h:118:3 */ |
| 1729 | |
| 1730 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 1731 | // This file is part of the GNU C Library. |
| 1732 | // |
| 1733 | // The GNU C Library is free software; you can redistribute it and/or |
| 1734 | // modify it under the terms of the GNU Lesser General Public |
| 1735 | // License as published by the Free Software Foundation; either |
| 1736 | // version 2.1 of the License, or (at your option) any later version. |
| 1737 | // |
| 1738 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1739 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1740 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1741 | // Lesser General Public License for more details. |
| 1742 | // |
| 1743 | // You should have received a copy of the GNU Lesser General Public |
| 1744 | // License along with the GNU C Library; if not, see |
| 1745 | // <https://www.gnu.org/licenses/>. |
| 1746 | |
| 1747 | // POSIX Standard: 5.6 File Characteristics <sys/stat.h> |
| 1748 | |
| 1749 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 1750 | // This file is part of the GNU C Library. |
| 1751 | // |
| 1752 | // The GNU C Library is free software; you can redistribute it and/or |
| 1753 | // modify it under the terms of the GNU Lesser General Public |
| 1754 | // License as published by the Free Software Foundation; either |
| 1755 | // version 2.1 of the License, or (at your option) any later version. |
| 1756 | // |
| 1757 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1758 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1759 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1760 | // Lesser General Public License for more details. |
| 1761 | // |
| 1762 | // You should have received a copy of the GNU Lesser General Public |
| 1763 | // License along with the GNU C Library; if not, see |
| 1764 | // <https://www.gnu.org/licenses/>. |
| 1765 | |
| 1766 | // bits/types.h -- definitions of __*_t types underlying *_t types. |
| 1767 | // Copyright (C) 2002-2023 Free Software Foundation, Inc. |
| 1768 | // This file is part of the GNU C Library. |
| 1769 | // |
| 1770 | // The GNU C Library is free software; you can redistribute it and/or |
| 1771 | // modify it under the terms of the GNU Lesser General Public |
| 1772 | // License as published by the Free Software Foundation; either |
| 1773 | // version 2.1 of the License, or (at your option) any later version. |
| 1774 | // |
| 1775 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1776 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1777 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1778 | // Lesser General Public License for more details. |
| 1779 | // |
| 1780 | // You should have received a copy of the GNU Lesser General Public |
| 1781 | // License along with the GNU C Library; if not, see |
| 1782 | // <https://www.gnu.org/licenses/>. |
| 1783 | |
| 1784 | // Never include this file directly; use <sys/types.h> instead. |
| 1785 | |
| 1786 | // NB: Include guard matches what <linux/time.h> uses. |
| 1787 | |
| 1788 | // The Single Unix specification says that some more types are |
| 1789 | // available here. |
| 1790 | |
| 1791 | // Copyright (C) 1992-2023 Free Software Foundation, Inc. |
| 1792 | // This file is part of the GNU C Library. |
| 1793 | // |
| 1794 | // The GNU C Library is free software; you can redistribute it and/or |
| 1795 | // modify it under the terms of the GNU Lesser General Public |
| 1796 | // License as published by the Free Software Foundation; either |
| 1797 | // version 2.1 of the License, or (at your option) any later version. |
| 1798 | // |
| 1799 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1800 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1801 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1802 | // Lesser General Public License for more details. |
| 1803 | // |
| 1804 | // You should have received a copy of the GNU Lesser General Public |
| 1805 | // License along with the GNU C Library; if not, see |
| 1806 | // <https://www.gnu.org/licenses/>. |
| 1807 | |
| 1808 | // Definition for struct stat. |
| 1809 | // Copyright (C) 2020-2023 Free Software Foundation, Inc. |
| 1810 | // This file is part of the GNU C Library. |
| 1811 | // |
| 1812 | // The GNU C Library is free software; you can redistribute it and/or |
| 1813 | // modify it under the terms of the GNU Lesser General Public |
| 1814 | // License as published by the Free Software Foundation; either |
| 1815 | // version 2.1 of the License, or (at your option) any later version. |
| 1816 | // |
| 1817 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1818 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1819 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1820 | // Lesser General Public License for more details. |
| 1821 | // |
| 1822 | // You should have received a copy of the GNU Lesser General Public |
| 1823 | // License along with the GNU C Library. If not, see |
| 1824 | // <https://www.gnu.org/licenses/>. |
| 1825 | |
| 1826 | // Endian macros for string.h functions |
| 1827 | // Copyright (C) 1992-2023 Free Software Foundation, Inc. |
| 1828 | // This file is part of the GNU C Library. |
| 1829 | // |
| 1830 | // The GNU C Library is free software; you can redistribute it and/or |
| 1831 | // modify it under the terms of the GNU Lesser General Public |
| 1832 | // License as published by the Free Software Foundation; either |
| 1833 | // version 2.1 of the License, or (at your option) any later version. |
| 1834 | // |
| 1835 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1836 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1837 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1838 | // Lesser General Public License for more details. |
| 1839 | // |
| 1840 | // You should have received a copy of the GNU Lesser General Public |
| 1841 | // License along with the GNU C Library; if not, see |
| 1842 | // <http://www.gnu.org/licenses/>. |
| 1843 | |
| 1844 | // Copyright (C) 1999-2023 Free Software Foundation, Inc. |
| 1845 | // This file is part of the GNU C Library. |
| 1846 | // |
| 1847 | // The GNU C Library is free software; you can redistribute it and/or |
| 1848 | // modify it under the terms of the GNU Lesser General Public |
| 1849 | // License as published by the Free Software Foundation; either |
| 1850 | // version 2.1 of the License, or (at your option) any later version. |
| 1851 | // |
| 1852 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1853 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1854 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1855 | // Lesser General Public License for more details. |
| 1856 | // |
| 1857 | // You should have received a copy of the GNU Lesser General Public |
| 1858 | // License along with the GNU C Library; if not, see |
| 1859 | // <https://www.gnu.org/licenses/>. |
| 1860 | |
| 1861 | type Stat = struct { |
| 1862 | Fst_dev uint64 |
| 1863 | Fst_ino uint64 |
| 1864 | Fst_mode uint32 |
| 1865 | Fst_nlink uint32 |
| 1866 | Fst_uid uint32 |
| 1867 | Fst_gid uint32 |
| 1868 | Fst_rdev uint64 |
| 1869 | F__pad1 uint64 |
| 1870 | Fst_size int64 |
| 1871 | Fst_blksize int32 |
| 1872 | F__pad2 int32 |
| 1873 | Fst_blocks int64 |
| 1874 | Fst_atim struct { |
| 1875 | Ftv_sec int64 |
| 1876 | Ftv_nsec int64 |
| 1877 | } |
| 1878 | Fst_mtim struct { |
| 1879 | Ftv_sec int64 |
| 1880 | Ftv_nsec int64 |
| 1881 | } |
| 1882 | Fst_ctim struct { |
| 1883 | Ftv_sec int64 |
| 1884 | Ftv_nsec int64 |
| 1885 | } |
| 1886 | F__glibc_reserved [2]int32 |
| 1887 | } /* struct_stat.h:44:1 */ |
| 1888 | |
| 1889 | // File tree traversal functions declarations. |
| 1890 | // Copyright (C) 1994-2023 Free Software Foundation, Inc. |
| 1891 | // This file is part of the GNU C Library. |
| 1892 | // |
| 1893 | // The GNU C Library is free software; you can redistribute it and/or |
| 1894 | // modify it under the terms of the GNU Lesser General Public |
| 1895 | // License as published by the Free Software Foundation; either |
| 1896 | // version 2.1 of the License, or (at your option) any later version. |
| 1897 | // |
| 1898 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1899 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1900 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1901 | // Lesser General Public License for more details. |
| 1902 | // |
| 1903 | // You should have received a copy of the GNU Lesser General Public |
| 1904 | // License along with the GNU C Library; if not, see |
| 1905 | // <https://www.gnu.org/licenses/>. |
| 1906 | |
| 1907 | // Copyright (c) 1989, 1993 |
| 1908 | // The Regents of the University of California. All rights reserved. |
| 1909 | // |
| 1910 | // Redistribution and use in source and binary forms, with or without |
| 1911 | // modification, are permitted provided that the following conditions |
| 1912 | // are met: |
| 1913 | // 1. Redistributions of source code must retain the above copyright |
| 1914 | // notice, this list of conditions and the following disclaimer. |
| 1915 | // 2. Redistributions in binary form must reproduce the above copyright |
| 1916 | // notice, this list of conditions and the following disclaimer in the |
| 1917 | // documentation and/or other materials provided with the distribution. |
| 1918 | // 4. Neither the name of the University nor the names of its contributors |
| 1919 | // may be used to endorse or promote products derived from this software |
| 1920 | // without specific prior written permission. |
| 1921 | // |
| 1922 | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND |
| 1923 | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 1924 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 1925 | // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
| 1926 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 1927 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 1928 | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 1929 | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 1930 | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 1931 | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 1932 | // SUCH DAMAGE. |
| 1933 | // |
| 1934 | // @(#)fts.h 8.3 (Berkeley) 8/14/94 |
| 1935 | |
| 1936 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 1937 | // This file is part of the GNU C Library. |
| 1938 | // |
| 1939 | // The GNU C Library is free software; you can redistribute it and/or |
| 1940 | // modify it under the terms of the GNU Lesser General Public |
| 1941 | // License as published by the Free Software Foundation; either |
| 1942 | // version 2.1 of the License, or (at your option) any later version. |
| 1943 | // |
| 1944 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1945 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1946 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1947 | // Lesser General Public License for more details. |
| 1948 | // |
| 1949 | // You should have received a copy of the GNU Lesser General Public |
| 1950 | // License along with the GNU C Library; if not, see |
| 1951 | // <https://www.gnu.org/licenses/>. |
| 1952 | |
| 1953 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 1954 | // This file is part of the GNU C Library. |
| 1955 | // |
| 1956 | // The GNU C Library is free software; you can redistribute it and/or |
| 1957 | // modify it under the terms of the GNU Lesser General Public |
| 1958 | // License as published by the Free Software Foundation; either |
| 1959 | // version 2.1 of the License, or (at your option) any later version. |
| 1960 | // |
| 1961 | // The GNU C Library is distributed in the hope that it will be useful, |
| 1962 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1963 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1964 | // Lesser General Public License for more details. |
| 1965 | // |
| 1966 | // You should have received a copy of the GNU Lesser General Public |
| 1967 | // License along with the GNU C Library; if not, see |
| 1968 | // <https://www.gnu.org/licenses/>. |
| 1969 | |
| 1970 | // POSIX Standard: 2.6 Primitive System Data Types <sys/types.h> |
| 1971 | |
| 1972 | type X_ftsent = struct { |
| 1973 | Ffts_cycle uintptr |
| 1974 | Ffts_parent uintptr |
| 1975 | Ffts_link uintptr |
| 1976 | Ffts_number int64 |
| 1977 | Ffts_pointer uintptr |
| 1978 | Ffts_accpath uintptr |
| 1979 | Ffts_path uintptr |
| 1980 | Ffts_errno int32 |
| 1981 | Ffts_symfd int32 |
| 1982 | Ffts_pathlen uint16 |
| 1983 | Ffts_namelen uint16 |
| 1984 | F__ccgo_pad1 [4]byte |
| 1985 | Ffts_ino uint64 |
| 1986 | Ffts_dev uint64 |
| 1987 | Ffts_nlink uint32 |
| 1988 | Ffts_level int16 |
| 1989 | Ffts_info uint16 |
| 1990 | Ffts_flags uint16 |
| 1991 | Ffts_instr uint16 |
| 1992 | F__ccgo_pad2 [4]byte |
| 1993 | Ffts_statp uintptr |
| 1994 | Ffts_name [1]int8 |
| 1995 | F__ccgo_pad3 [7]byte |
| 1996 | } /* fts.h:58:2 */ |
| 1997 | |
| 1998 | // File tree traversal functions declarations. |
| 1999 | // Copyright (C) 1994-2023 Free Software Foundation, Inc. |
| 2000 | // This file is part of the GNU C Library. |
| 2001 | // |
| 2002 | // The GNU C Library is free software; you can redistribute it and/or |
| 2003 | // modify it under the terms of the GNU Lesser General Public |
| 2004 | // License as published by the Free Software Foundation; either |
| 2005 | // version 2.1 of the License, or (at your option) any later version. |
| 2006 | // |
| 2007 | // The GNU C Library is distributed in the hope that it will be useful, |
| 2008 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 2009 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 2010 | // Lesser General Public License for more details. |
| 2011 | // |
| 2012 | // You should have received a copy of the GNU Lesser General Public |
| 2013 | // License along with the GNU C Library; if not, see |
| 2014 | // <https://www.gnu.org/licenses/>. |
| 2015 | |
| 2016 | // Copyright (c) 1989, 1993 |
| 2017 | // The Regents of the University of California. All rights reserved. |
| 2018 | // |
| 2019 | // Redistribution and use in source and binary forms, with or without |
| 2020 | // modification, are permitted provided that the following conditions |
| 2021 | // are met: |
| 2022 | // 1. Redistributions of source code must retain the above copyright |
| 2023 | // notice, this list of conditions and the following disclaimer. |
| 2024 | // 2. Redistributions in binary form must reproduce the above copyright |
| 2025 | // notice, this list of conditions and the following disclaimer in the |
| 2026 | // documentation and/or other materials provided with the distribution. |
| 2027 | // 4. Neither the name of the University nor the names of its contributors |
| 2028 | // may be used to endorse or promote products derived from this software |
| 2029 | // without specific prior written permission. |
| 2030 | // |
| 2031 | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND |
| 2032 | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 2033 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 2034 | // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
| 2035 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 2036 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 2037 | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 2038 | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 2039 | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 2040 | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 2041 | // SUCH DAMAGE. |
| 2042 | // |
| 2043 | // @(#)fts.h 8.3 (Berkeley) 8/14/94 |
| 2044 | |
| 2045 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 2046 | // This file is part of the GNU C Library. |
| 2047 | // |
| 2048 | // The GNU C Library is free software; you can redistribute it and/or |
| 2049 | // modify it under the terms of the GNU Lesser General Public |
| 2050 | // License as published by the Free Software Foundation; either |
| 2051 | // version 2.1 of the License, or (at your option) any later version. |
| 2052 | // |
| 2053 | // The GNU C Library is distributed in the hope that it will be useful, |
| 2054 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 2055 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 2056 | // Lesser General Public License for more details. |
| 2057 | // |
| 2058 | // You should have received a copy of the GNU Lesser General Public |
| 2059 | // License along with the GNU C Library; if not, see |
| 2060 | // <https://www.gnu.org/licenses/>. |
| 2061 | |
| 2062 | // Copyright (C) 1991-2023 Free Software Foundation, Inc. |
| 2063 | // This file is part of the GNU C Library. |
| 2064 | // |
| 2065 | // The GNU C Library is free software; you can redistribute it and/or |
| 2066 | // modify it under the terms of the GNU Lesser General Public |
| 2067 | // License as published by the Free Software Foundation; either |
| 2068 | // version 2.1 of the License, or (at your option) any later version. |
| 2069 | // |
| 2070 | // The GNU C Library is distributed in the hope that it will be useful, |
| 2071 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 2072 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 2073 | // Lesser General Public License for more details. |
| 2074 | // |
| 2075 | // You should have received a copy of the GNU Lesser General Public |
| 2076 | // License along with the GNU C Library; if not, see |
| 2077 | // <https://www.gnu.org/licenses/>. |
| 2078 | |
| 2079 | // POSIX Standard: 2.6 Primitive System Data Types <sys/types.h> |
| 2080 | |
| 2081 | type FTS = struct { |
| 2082 | Ffts_cur uintptr |
| 2083 | Ffts_child uintptr |
| 2084 | Ffts_array uintptr |
| 2085 | Ffts_dev uint64 |
| 2086 | Ffts_path uintptr |
| 2087 | Ffts_rfd int32 |
| 2088 | Ffts_pathlen int32 |
| 2089 | Ffts_nitems int32 |
| 2090 | F__ccgo_pad1 [4]byte |
| 2091 | Ffts_compar uintptr |
| 2092 | Ffts_options int32 |
| 2093 | F__ccgo_pad2 [4]byte |
| 2094 | } /* fts.h:81:3 */ |
| 2095 | |
| 2096 | type FTSENT = X_ftsent /* fts.h:147:3 */ |
| 2097 | |
| 2098 | var _ int8 /* gen.c:5:13: */ |