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