chore(deps): Update sqlite dependencies

This commit is contained in:
TwiN
2022-12-01 20:19:56 -05:00
parent 080563bd4f
commit cdec353744
564 changed files with 583632 additions and 1166555 deletions

View File

@ -1,5 +1,7 @@
// 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 -o pwd/pwd_darwin_amd64.go -pkgname pwd', DO NOT EDIT.
// 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_darwin_amd64.go -pkgname pwd', DO NOT EDIT.
package pwd
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set_overflow": {},
}

View File

@ -1,5 +1,7 @@
// Code generated by 'ccgo pwd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pwd/pwd_darwin_arm64.go -pkgname pwd', DO NOT EDIT.
// 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_darwin_arm64.go -pkgname pwd', DO NOT EDIT.
package pwd
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set_overflow": {},
}

View File

@ -1,4 +1,4 @@
// 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 -o pwd/pwd_freebsd_amd64.go -pkgname pwd', DO NOT EDIT.
// 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_freebsd_amd64.go -pkgname pwd', DO NOT EDIT.
package pwd

View File

@ -1,4 +1,4 @@
// 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 -o pwd/pwd_linux_amd64.go -pkgname pwd', DO NOT EDIT.
// 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.
package pwd

View File

@ -1,4 +1,4 @@
// 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 -o pwd/pwd_netbsd_amd64.go -pkgname pwd', DO NOT EDIT.
// 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_netbsd_amd64.go -pkgname pwd', DO NOT EDIT.
package pwd

View File

@ -1,4 +1,4 @@
// 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 -o pwd/pwd_darwin_amd64.go -pkgname pwd', DO NOT EDIT.
// 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_darwin_amd64.go -pkgname pwd', DO NOT EDIT.
package pwd
@ -15,49 +15,49 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
X_BSD_I386__TYPES_H_ = 0
X_BSD_MACHINE__TYPES_H_ = 0
X_CDEFS_H_ = 0
X_DARWIN_FEATURE_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
X_FILE_OFFSET_BITS = 64
X_FORTIFY_SOURCE = 2
X_GID_T = 0
X_LP64 = 1
X_MASTERPASSWD = "master.passwd"
X_MP_DB = "pwd.db"
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PASSWD = "passwd"
X_PASSWORD_CHGNOW = -1
X_PASSWORD_EFMT1 = 95
X_PASSWORD_LEN = 128
X_PASSWORD_NOCHG = 0x04
X_PASSWORD_NOEXP = 0x08
X_PASSWORD_NOGID = 0x02
X_PASSWORD_NOUID = 0x01
X_PASSWORD_WARNDAYS = 14
X_PATH_MASTERPASSWD = "/etc/master.passwd"
X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp"
X_PATH_MP_DB = "/etc/pwd.db"
X_PATH_PASSWD = "/etc/passwd"
X_PATH_PWD = "/etc"
X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb"
X_PATH_SMP_DB = "/etc/spwd.db"
X_PWD_H_ = 0
X_PW_KEYBYNAME = 49
X_PW_KEYBYNUM = 50
X_PW_KEYBYUID = 51
X_SIZE_T = 0
X_SMP_DB = "spwd.db"
X_SYS__PTHREAD_TYPES_H_ = 0
X_SYS__TYPES_H_ = 0
X_UID_T = 0
X_UUID_STRING_T = 0
X_UUID_T = 0
X_UUID_UUID_H = 0
X_BSD_I386__TYPES_H_ = 0 // _types.h:29:1:
X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
X_CDEFS_H_ = 0 // cdefs.h:68:1:
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1:
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FORTIFY_SOURCE = 2 // _types.h:65:1:
X_GID_T = 0 // _gid_t.h:29:1:
X_LP64 = 1 // <predefined>:1:1:
X_MASTERPASSWD = "master.passwd" // pwd.h:57:1:
X_MP_DB = "pwd.db" // pwd.h:60:1:
X_Nonnull = 0 // cdefs.h:243:1:
X_Null_unspecified = 0 // cdefs.h:246:1:
X_Nullable = 0 // cdefs.h:240:1:
X_PASSWD = "passwd" // pwd.h:54:1:
X_PASSWORD_CHGNOW = -1 // pwd.h:80:1:
X_PASSWORD_EFMT1 = 95 // pwd.h:70:1:
X_PASSWORD_LEN = 128 // pwd.h:72:1:
X_PASSWORD_NOCHG = 0x04 // pwd.h:76:1:
X_PASSWORD_NOEXP = 0x08 // pwd.h:77:1:
X_PASSWORD_NOGID = 0x02 // pwd.h:75:1:
X_PASSWORD_NOUID = 0x01 // pwd.h:74:1:
X_PASSWORD_WARNDAYS = 14 // pwd.h:79:1:
X_PATH_MASTERPASSWD = "/etc/master.passwd" // pwd.h:55:1:
X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp" // pwd.h:56:1:
X_PATH_MP_DB = "/etc/pwd.db" // pwd.h:59:1:
X_PATH_PASSWD = "/etc/passwd" // pwd.h:53:1:
X_PATH_PWD = "/etc" // pwd.h:52:1:
X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb" // pwd.h:64:1:
X_PATH_SMP_DB = "/etc/spwd.db" // pwd.h:61:1:
X_PWD_H_ = 0 // pwd.h:44:1:
X_PW_KEYBYNAME = 49 // pwd.h:66:1:
X_PW_KEYBYNUM = 50 // pwd.h:67:1:
X_PW_KEYBYUID = 51 // pwd.h:68:1:
X_SIZE_T = 0 // _size_t.h:29:1:
X_SMP_DB = "spwd.db" // pwd.h:62:1:
X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
X_SYS__TYPES_H_ = 0 // _types.h:30:1:
X_UID_T = 0 // _uid_t.h:29:1:
X_UUID_STRING_T = 0 // uuid.h:42:1:
X_UUID_T = 0 // _uuid_t.h:29:1:
X_UUID_UUID_H = 0 // uuid.h:36:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -78,6 +78,8 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// -
// Copyright (c) 1989, 1993
// The Regents of the University of California. All rights reserved.
@ -240,6 +242,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// in between its arguments. __CONCAT can also concatenate double-quoted
// strings produced by the __STRING macro, but this only works with ANSI C.
// In non-ANSI C environments, new programs will want ANSI-only C keywords
// deleted from the program and old programs will want them left alone.
// When using a compiler other than gcc, programs using the ANSI C keywords
// const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
// When using "gcc -traditional", we assume that this is the intent; if
// __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
// __unused denotes variables and functions that may not be used, preventing
// the compiler from warning about it if not used.
@ -607,8 +616,8 @@ type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:79:3 */
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo pwd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pwd/pwd_darwin_arm64.go -pkgname pwd', DO NOT EDIT.
// 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_darwin_arm64.go -pkgname pwd', DO NOT EDIT.
package pwd
@ -15,51 +15,51 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
X_BSD_ARM__TYPES_H_ = 0
X_BSD_MACHINE__TYPES_H_ = 0
X_CDEFS_H_ = 0
X_DARWIN_FEATURE_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
X_DARWIN_FEATURE_ONLY_VERS_1050 = 1
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
X_FILE_OFFSET_BITS = 64
X_FORTIFY_SOURCE = 2
X_GID_T = 0
X_LP64 = 1
X_MASTERPASSWD = "master.passwd"
X_MP_DB = "pwd.db"
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PASSWD = "passwd"
X_PASSWORD_CHGNOW = -1
X_PASSWORD_EFMT1 = 95
X_PASSWORD_LEN = 128
X_PASSWORD_NOCHG = 0x04
X_PASSWORD_NOEXP = 0x08
X_PASSWORD_NOGID = 0x02
X_PASSWORD_NOUID = 0x01
X_PASSWORD_WARNDAYS = 14
X_PATH_MASTERPASSWD = "/etc/master.passwd"
X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp"
X_PATH_MP_DB = "/etc/pwd.db"
X_PATH_PASSWD = "/etc/passwd"
X_PATH_PWD = "/etc"
X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb"
X_PATH_SMP_DB = "/etc/spwd.db"
X_PWD_H_ = 0
X_PW_KEYBYNAME = 49
X_PW_KEYBYNUM = 50
X_PW_KEYBYUID = 51
X_SIZE_T = 0
X_SMP_DB = "spwd.db"
X_SYS__PTHREAD_TYPES_H_ = 0
X_SYS__TYPES_H_ = 0
X_UID_T = 0
X_UUID_STRING_T = 0
X_UUID_T = 0
X_UUID_UUID_H = 0
X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1:
X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
X_CDEFS_H_ = 0 // cdefs.h:68:1:
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FORTIFY_SOURCE = 2 // _types.h:65:1:
X_GID_T = 0 // _gid_t.h:29:1:
X_LP64 = 1 // <predefined>:1:1:
X_MASTERPASSWD = "master.passwd" // pwd.h:57:1:
X_MP_DB = "pwd.db" // pwd.h:60:1:
X_Nonnull = 0 // cdefs.h:268:1:
X_Null_unspecified = 0 // cdefs.h:271:1:
X_Nullable = 0 // cdefs.h:265:1:
X_PASSWD = "passwd" // pwd.h:54:1:
X_PASSWORD_CHGNOW = -1 // pwd.h:80:1:
X_PASSWORD_EFMT1 = 95 // pwd.h:70:1:
X_PASSWORD_LEN = 128 // pwd.h:72:1:
X_PASSWORD_NOCHG = 0x04 // pwd.h:76:1:
X_PASSWORD_NOEXP = 0x08 // pwd.h:77:1:
X_PASSWORD_NOGID = 0x02 // pwd.h:75:1:
X_PASSWORD_NOUID = 0x01 // pwd.h:74:1:
X_PASSWORD_WARNDAYS = 14 // pwd.h:79:1:
X_PATH_MASTERPASSWD = "/etc/master.passwd" // pwd.h:55:1:
X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp" // pwd.h:56:1:
X_PATH_MP_DB = "/etc/pwd.db" // pwd.h:59:1:
X_PATH_PASSWD = "/etc/passwd" // pwd.h:53:1:
X_PATH_PWD = "/etc" // pwd.h:52:1:
X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb" // pwd.h:64:1:
X_PATH_SMP_DB = "/etc/spwd.db" // pwd.h:61:1:
X_PWD_H_ = 0 // pwd.h:44:1:
X_PW_KEYBYNAME = 49 // pwd.h:66:1:
X_PW_KEYBYNUM = 50 // pwd.h:67:1:
X_PW_KEYBYUID = 51 // pwd.h:68:1:
X_SIZE_T = 0 // _size_t.h:29:1:
X_SMP_DB = "spwd.db" // pwd.h:62:1:
X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
X_SYS__TYPES_H_ = 0 // _types.h:30:1:
X_UID_T = 0 // _uid_t.h:29:1:
X_UUID_STRING_T = 0 // uuid.h:42:1:
X_UUID_T = 0 // _uuid_t.h:29:1:
X_UUID_UUID_H = 0 // uuid.h:36:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -80,6 +80,8 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// -
// Copyright (c) 1989, 1993
// The Regents of the University of California. All rights reserved.
@ -242,6 +244,19 @@ type X__float128 = float64 /* <builtin>:47:21 */
// in between its arguments. __CONCAT can also concatenate double-quoted
// strings produced by the __STRING macro, but this only works with ANSI C.
// In non-ANSI C environments, new programs will want ANSI-only C keywords
// deleted from the program and old programs will want them left alone.
// When using a compiler other than gcc, programs using the ANSI C keywords
// const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
// When using "gcc -traditional", we assume that this is the intent; if
// __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
// __pure2 can be used for functions that are only a function of their scalar
// arguments (meaning they can't dereference pointers).
//
// __stateful_pure can be used for functions that have no side effects,
// but depend on the state of the memory.
// __unused denotes variables and functions that may not be used, preventing
// the compiler from warning about it if not used.
@ -518,6 +533,20 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
// used from other compilation units, but not other libraries or executables.
// We intentionally define to nothing pointer attributes which do not have an
// impact on the ABI. __indexable and __bidi_indexable are not defined because
// of the ABI incompatibility that makes the diagnostic preferable.
// Similarly, we intentionally define to nothing the
// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
// macros because they do not lead to an ABI incompatibility. However, we do not
// define the indexable and unsafe_indexable ones because the diagnostic is
// better than the silent ABI break.
// __unsafe_forge intrinsics are defined as regular C casts.
// decay operates normally; attribute is meaningless without pointer checks.
// Architecture validation for current SDK
// Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
@ -556,17 +585,17 @@ type X__float128 = float64 /* <builtin>:47:21 */
// This header file contains integer types. It's intended to also contain
// flotaing point and other arithmetic types, as needed, later.
type X__int8_t = int8 /* _types.h:13:33 */
type X__uint8_t = uint8 /* _types.h:17:33 */
type X__int16_t = int16 /* _types.h:18:33 */
type X__uint16_t = uint16 /* _types.h:19:33 */
type X__int32_t = int32 /* _types.h:20:33 */
type X__uint32_t = uint32 /* _types.h:21:33 */
type X__int64_t = int64 /* _types.h:22:33 */
type X__uint64_t = uint64 /* _types.h:23:33 */
type X__int8_t = int8 /* _types.h:15:33 */
type X__uint8_t = uint8 /* _types.h:19:33 */
type X__int16_t = int16 /* _types.h:20:33 */
type X__uint16_t = uint16 /* _types.h:21:33 */
type X__int32_t = int32 /* _types.h:22:33 */
type X__uint32_t = uint32 /* _types.h:23:33 */
type X__int64_t = int64 /* _types.h:24:33 */
type X__uint64_t = uint64 /* _types.h:25:33 */
type X__darwin_intptr_t = int64 /* _types.h:25:33 */
type X__darwin_natural_t = uint32 /* _types.h:26:33 */
type X__darwin_intptr_t = int64 /* _types.h:27:33 */
type X__darwin_natural_t = uint32 /* _types.h:28:33 */
// The rune type below is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
@ -584,33 +613,33 @@ type X__darwin_natural_t = uint32 /* _types.h:26:33 */
// wchar_t, and should also be able to hold all members of the largest
// character set plus one extra value (WEOF). wint_t must be at least 16 bits.
type X__darwin_ct_rune_t = int32 /* _types.h:46:33 */ // ct_rune_t
type X__darwin_ct_rune_t = int32 /* _types.h:48:33 */ // ct_rune_t
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
} /* _types.h:55:3 */
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:57:3 */
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:57:33 */ // mbstate_t
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:59:33 */ // mbstate_t
type X__darwin_ptrdiff_t = int64 /* _types.h:60:33 */ // ptr1 - ptr2
type X__darwin_ptrdiff_t = int64 /* _types.h:62:33 */ // ptr1 - ptr2
type X__darwin_size_t = uint64 /* _types.h:68:33 */ // sizeof()
type X__darwin_size_t = uint64 /* _types.h:70:33 */ // sizeof()
type X__darwin_va_list = X__builtin_va_list /* _types.h:74:33 */ // va_list
type X__darwin_va_list = X__builtin_va_list /* _types.h:76:33 */ // va_list
type X__darwin_wchar_t = int32 /* _types.h:80:33 */ // wchar_t
type X__darwin_wchar_t = int32 /* _types.h:82:33 */ // wchar_t
type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:85:33 */ // rune_t
type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:87:33 */ // rune_t
type X__darwin_wint_t = int32 /* _types.h:88:33 */ // wint_t
type X__darwin_wint_t = int32 /* _types.h:90:33 */ // wint_t
type X__darwin_clock_t = uint64 /* _types.h:93:33 */ // clock()
type X__darwin_socklen_t = X__uint32_t /* _types.h:94:33 */ // socklen_t (duh)
type X__darwin_ssize_t = int64 /* _types.h:95:33 */ // byte count or error
type X__darwin_time_t = int64 /* _types.h:96:33 */ // time()
type X__darwin_clock_t = uint64 /* _types.h:95:33 */ // clock()
type X__darwin_socklen_t = X__uint32_t /* _types.h:96:33 */ // socklen_t (duh)
type X__darwin_ssize_t = int64 /* _types.h:97:33 */ // byte count or error
type X__darwin_time_t = int64 /* _types.h:98:33 */ // time()
// Type definitions; takes common type definitions that must be used
// in multiple header files due to [XSI], removes them from the system
@ -1051,6 +1080,4 @@ type Uuid_t = X__darwin_uuid_t /* _uuid_t.h:31:25 */
type Uuid_string_t = X__darwin_uuid_string_t /* uuid.h:43:33 */
var sUUID_NULL = Uuid_t{uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0), uint8(0)} /* uuid.h:49:1 */
var _ int8 /* gen.c:2:13: */

View File

@ -1,4 +1,4 @@
// 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 -o pwd/pwd_freebsd_amd64.go -pkgname pwd', DO NOT EDIT.
// 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_freebsd_amd64.go -pkgname pwd', DO NOT EDIT.
package pwd
@ -15,54 +15,54 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
X_FILE_OFFSET_BITS = 64
X_GID_T_DECLARED = 0
X_LP64 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MASTERPASSWD = "master.passwd"
X_MP_DB = "pwd.db"
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PASSWD = "passwd"
X_PASSWORD_EFMT1 = 95
X_PASSWORD_LEN = 128
X_PATH_MASTERPASSWD = "/etc/master.passwd"
X_PATH_MP_DB = "/etc/pwd.db"
X_PATH_PASSWD = "/etc/passwd"
X_PATH_PWD = "/etc"
X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb"
X_PATH_SMP_DB = "/etc/spwd.db"
X_PWD_CURRENT_VERSION = 4
X_PWD_H_ = 0
X_PWF_CHANGE = 16
X_PWF_CLASS = 32
X_PWF_DIR = 128
X_PWF_EXPIRE = 512
X_PWF_FILES = 0x1000
X_PWF_GECOS = 64
X_PWF_GID = 8
X_PWF_HESIOD = 0x3000
X_PWF_NAME = 1
X_PWF_NIS = 0x2000
X_PWF_PASSWD = 2
X_PWF_SHELL = 256
X_PWF_SOURCE = 0x3000
X_PWF_UID = 4
X_PW_KEYBYNAME = 49
X_PW_KEYBYNUM = 50
X_PW_KEYBYUID = 51
X_PW_KEYYPBYNUM = 53
X_PW_KEYYPENABLED = 52
X_PW_VERSION_MASK = 240
X_SIZE_T_DECLARED = 0
X_SMP_DB = "spwd.db"
X_SYS_CDEFS_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIME_T_DECLARED = 0
X_UID_T_DECLARED = 0
Unix = 1
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_GID_T_DECLARED = 0 // pwd.h:48:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_MASTERPASSWD = "master.passwd" // pwd.h:70:1:
X_MP_DB = "pwd.db" // pwd.h:73:1:
X_Nonnull = 0 // cdefs.h:790:1:
X_Null_unspecified = 0 // cdefs.h:792:1:
X_Nullable = 0 // cdefs.h:791:1:
X_PASSWD = "passwd" // pwd.h:68:1:
X_PASSWORD_EFMT1 = 95 // pwd.h:110:1:
X_PASSWORD_LEN = 128 // pwd.h:112:1:
X_PATH_MASTERPASSWD = "/etc/master.passwd" // pwd.h:69:1:
X_PATH_MP_DB = "/etc/pwd.db" // pwd.h:72:1:
X_PATH_PASSWD = "/etc/passwd" // pwd.h:67:1:
X_PATH_PWD = "/etc" // pwd.h:66:1:
X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb" // pwd.h:77:1:
X_PATH_SMP_DB = "/etc/spwd.db" // pwd.h:74:1:
X_PWD_CURRENT_VERSION = 4 // pwd.h:108:1:
X_PWD_H_ = 0 // pwd.h:41:1:
X_PWF_CHANGE = 16 // pwd.h:134:1:
X_PWF_CLASS = 32 // pwd.h:135:1:
X_PWF_DIR = 128 // pwd.h:137:1:
X_PWF_EXPIRE = 512 // pwd.h:139:1:
X_PWF_FILES = 0x1000 // pwd.h:145:1:
X_PWF_GECOS = 64 // pwd.h:136:1:
X_PWF_GID = 8 // pwd.h:133:1:
X_PWF_HESIOD = 0x3000 // pwd.h:147:1:
X_PWF_NAME = 1 // pwd.h:130:1:
X_PWF_NIS = 0x2000 // pwd.h:146:1:
X_PWF_PASSWD = 2 // pwd.h:131:1:
X_PWF_SHELL = 256 // pwd.h:138:1:
X_PWF_SOURCE = 0x3000 // pwd.h:144:1:
X_PWF_UID = 4 // pwd.h:132:1:
X_PW_KEYBYNAME = 49 // pwd.h:97:1:
X_PW_KEYBYNUM = 50 // pwd.h:98:1:
X_PW_KEYBYUID = 51 // pwd.h:99:1:
X_PW_KEYYPBYNUM = 53 // pwd.h:101:1:
X_PW_KEYYPENABLED = 52 // pwd.h:100:1:
X_PW_VERSION_MASK = 240 // pwd.h:94:1:
X_SIZE_T_DECLARED = 0 // pwd.h:63:1:
X_SMP_DB = "spwd.db" // pwd.h:75:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_TIME_T_DECLARED = 0 // pwd.h:53:1:
X_UID_T_DECLARED = 0 // pwd.h:58:1:
Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -337,12 +337,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Function should not be analyzed.
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
// GCC has the nosanitize attribute, but as a function attribute only, and
// warns on use as a variable attribute.
// Guard variables and structure members by lock.
// Alignment builtins for better type checking and improved code generation.
// Provide fallback versions for other compilers (GCC/Clang < 10):
// -
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
//
@ -585,8 +588,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
// Unusual type definitions.
// rune_t is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
// rune_t is declared to be an int instead of the more natural
// unsigned long or long. Two things are happening here. It is not
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
// it looks like 10646 will be a 31 bit standard. This means that if your
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
@ -619,8 +622,8 @@ type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
// mbstate_t is an opaque object to keep conversion state during multibyte
// stream conversions.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:124:3 */
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
@ -659,18 +662,18 @@ type Uid_t = X__uid_t /* pwd.h:57:18 */
// as well.
type Passwd = struct {
Fpw_name uintptr
Fpw_passwd uintptr
Fpw_uid Uid_t
Fpw_gid Gid_t
Fpw_change Time_t
Fpw_class uintptr
Fpw_gecos uintptr
Fpw_dir uintptr
Fpw_shell uintptr
Fpw_expire Time_t
Fpw_fields int32
_ [4]byte
Fpw_name uintptr
Fpw_passwd uintptr
Fpw_uid Uid_t
Fpw_gid Gid_t
Fpw_change Time_t
Fpw_class uintptr
Fpw_gecos uintptr
Fpw_dir uintptr
Fpw_shell uintptr
Fpw_expire Time_t
Fpw_fields int32
F__ccgo_pad1 [4]byte
} /* pwd.h:114:1 */
var _ int8 /* gen.c:2:13: */

View File

@ -17,6 +17,7 @@ var _ unsafe.Pointer
const (
NSS_BUFLEN_PASSWD = 1024
X_ATFILE_SOURCE = 1
X_BITS_TIME64_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BSD_SIZE_T_ = 0
@ -25,6 +26,7 @@ const (
X_FEATURES_H = 1
X_FILE_OFFSET_BITS = 64
X_GCC_SIZE_T = 0
X_ILP32 = 1
X_POSIX_C_SOURCE = 200809
X_POSIX_SOURCE = 1
X_PWD_H = 1
@ -53,7 +55,7 @@ type Wchar_t = int32 /* <builtin>:15:24 */
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -68,11 +70,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 9.2.2 User Database Access <pwd.h>
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -87,7 +89,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -95,6 +97,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
@ -215,6 +218,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
@ -237,9 +242,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -254,7 +272,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
@ -267,7 +285,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -282,7 +300,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -397,7 +415,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
@ -418,10 +436,14 @@ type X__float128 = float64 /* <builtin>:47:21 */
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
// Properties of long double type. ldbl-96 version.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -436,7 +458,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// long double is distinct from double, so there is nothing to
// define here.
@ -474,7 +496,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// every time called, usually setting errno to ENOSYS.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -489,11 +511,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -508,43 +530,63 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
// Bit size of the time_t type at glibc build time, x86-64 and x32 case.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// For others, time size is word size.
// Convenience types.
type X__u_char = uint8 /* types.h:30:23 */
type X__u_short = uint16 /* types.h:31:28 */
type X__u_int = uint32 /* types.h:32:22 */
type X__u_long = uint32 /* types.h:33:27 */
type X__u_char = uint8 /* types.h:31:23 */
type X__u_short = uint16 /* types.h:32:28 */
type X__u_int = uint32 /* types.h:33:22 */
type X__u_long = uint32 /* types.h:34:27 */
// Fixed-size types, underlying types depend on word size and compiler.
type X__int8_t = int8 /* types.h:36:21 */
type X__uint8_t = uint8 /* types.h:37:23 */
type X__int16_t = int16 /* types.h:38:26 */
type X__uint16_t = uint16 /* types.h:39:28 */
type X__int32_t = int32 /* types.h:40:20 */
type X__uint32_t = uint32 /* types.h:41:22 */
type X__int64_t = int64 /* types.h:46:44 */
type X__uint64_t = uint64 /* types.h:47:46 */
type X__int8_t = int8 /* types.h:37:21 */
type X__uint8_t = uint8 /* types.h:38:23 */
type X__int16_t = int16 /* types.h:39:26 */
type X__uint16_t = uint16 /* types.h:40:28 */
type X__int32_t = int32 /* types.h:41:20 */
type X__uint32_t = uint32 /* types.h:42:22 */
type X__int64_t = int64 /* types.h:47:44 */
type X__uint64_t = uint64 /* types.h:48:46 */
// Smallest types with at least a given width.
type X__int_least8_t = X__int8_t /* types.h:51:18 */
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__int_least16_t = X__int16_t /* types.h:53:19 */
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
type X__int_least8_t = X__int8_t /* types.h:52:18 */
type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
type X__int_least16_t = X__int16_t /* types.h:54:19 */
type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
type X__int_least32_t = X__int32_t /* types.h:56:19 */
type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
type X__int_least64_t = X__int64_t /* types.h:58:19 */
type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
// quad_t is also 64 bits.
type X__quad_t = int64 /* types.h:65:37 */
type X__u_quad_t = uint64 /* types.h:66:46 */
type X__quad_t = int64 /* types.h:66:37 */
type X__u_quad_t = uint64 /* types.h:67:46 */
// Largest integral types.
type X__intmax_t = int64 /* types.h:74:37 */
type X__uintmax_t = uint64 /* types.h:75:46 */
type X__intmax_t = int64 /* types.h:75:37 */
type X__uintmax_t = uint64 /* types.h:76:46 */
// The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
// macros for each of the OS types we define below. The definitions
@ -556,7 +598,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// 32 -- "natural" 32-bit type (always int)
// 64 -- "natural" 64-bit type (long or long long)
// LONG32 -- 32-bit type, traditionally long
// QUAD -- 64-bit type, always long long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@ -578,7 +620,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// We want __extension__ before typedef's that use nonstandard base types
// such as `long long' in C89 mode.
// bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version.
// Copyright (C) 2012-2018 Free Software Foundation, Inc.
// Copyright (C) 2012-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -593,7 +635,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// See <bits/types.h> for the meaning of these macros. This file exists so
// that <bits/types.h> need not vary across different GNU platforms.
@ -602,76 +644,106 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// Number of descriptors that can fit in an `fd_set'.
type X__dev_t = X__u_quad_t /* types.h:143:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
type X__ino_t = uint32 /* types.h:146:25 */ // Type of file serial numbers.
type X__ino64_t = X__u_quad_t /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint32 /* types.h:149:27 */ // Type of file link counts.
type X__off_t = int32 /* types.h:150:25 */ // Type of file sizes and offsets.
type X__off64_t = X__quad_t /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__clock_t = int32 /* types.h:154:27 */ // Type of CPU usage counts.
type X__rlim_t = uint32 /* types.h:155:26 */ // Type for resource measurement.
type X__rlim64_t = X__u_quad_t /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
type X__time_t = int32 /* types.h:158:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
type X__suseconds_t = int32 /* types.h:160:31 */ // Signed count of microseconds.
// bits/time64.h -- underlying types for __time64_t. Generic version.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
// Define __TIME64_T_TYPE so that it is always a 64-bit type.
// Define a 64-bit time type alongsize the 32-bit one.
type X__dev_t = X__uint64_t /* types.h:145:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications.
type X__ino_t = uint32 /* types.h:148:25 */ // Type of file serial numbers.
type X__ino64_t = X__uint64_t /* types.h:149:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint32 /* types.h:151:27 */ // Type of file link counts.
type X__off_t = int32 /* types.h:152:25 */ // Type of file sizes and offsets.
type X__off64_t = X__int64_t /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
type X__clock_t = int32 /* types.h:156:27 */ // Type of CPU usage counts.
type X__rlim_t = uint32 /* types.h:157:26 */ // Type for resource measurement.
type X__rlim64_t = X__uint64_t /* types.h:158:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs.
type X__time_t = int32 /* types.h:160:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
type X__suseconds_t = int32 /* types.h:162:31 */ // Signed count of microseconds.
type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key.
// Clock ID used in clock and timer functions.
type X__clockid_t = int32 /* types.h:166:29 */
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:169:12 */
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int32 /* types.h:172:29 */
type X__blksize_t = int32 /* types.h:174:29 */
// Types from the Large File Support interface.
// Type to count number of disk blocks.
type X__blkcnt_t = int32 /* types.h:177:28 */
type X__blkcnt64_t = X__quad_t /* types.h:178:30 */
type X__blkcnt_t = int32 /* types.h:179:28 */
type X__blkcnt64_t = X__int64_t /* types.h:180:30 */
// Type to count file system blocks.
type X__fsblkcnt_t = uint32 /* types.h:181:30 */
type X__fsblkcnt64_t = X__u_quad_t /* types.h:182:32 */
type X__fsblkcnt_t = uint32 /* types.h:183:30 */
type X__fsblkcnt64_t = X__uint64_t /* types.h:184:32 */
// Type to count file system nodes.
type X__fsfilcnt_t = uint32 /* types.h:185:30 */
type X__fsfilcnt64_t = X__u_quad_t /* types.h:186:32 */
type X__fsfilcnt_t = uint32 /* types.h:187:30 */
type X__fsfilcnt64_t = X__uint64_t /* types.h:188:32 */
// Type of miscellaneous file system fields.
type X__fsword_t = int32 /* types.h:189:28 */
type X__fsword_t = int32 /* types.h:191:28 */
type X__ssize_t = int32 /* types.h:191:27 */ // Type of a byte count, or error.
type X__ssize_t = int32 /* types.h:193:27 */ // Type of a byte count, or error.
// Signed long type used in system calls.
type X__syscall_slong_t = int32 /* types.h:194:33 */
type X__syscall_slong_t = int32 /* types.h:196:33 */
// Unsigned long type used in system calls.
type X__syscall_ulong_t = uint32 /* types.h:196:33 */
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:201:14 */
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
// Duplicates info from stdint.h but this is used in unistd.h.
type X__intptr_t = int32 /* types.h:204:25 */
type X__intptr_t = int32 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:207:23 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:212:13 */
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
//
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type X__time64_t = X__int64_t /* types.h:222:28 */
// Wide character type.
// Locale-writers should change this as necessary to
@ -681,15 +753,11 @@ type X__sig_atomic_t = int32 /* types.h:212:13 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* pwd.h:38:17 */
type Uid_t = X__uid_t /* pwd.h:43:17 */

View File

@ -1,4 +1,4 @@
// 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 -o pwd/pwd_linux_amd64.go -pkgname pwd', DO NOT EDIT.
// 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.
package pwd
@ -15,33 +15,34 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
NSS_BUFLEN_PASSWD = 1024
X_ATFILE_SOURCE = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BSD_SIZE_T_ = 0
X_BSD_SIZE_T_DEFINED_ = 0
X_DEFAULT_SOURCE = 1
X_FEATURES_H = 1
X_FILE_OFFSET_BITS = 64
X_GCC_SIZE_T = 0
X_LP64 = 1
X_POSIX_C_SOURCE = 200809
X_POSIX_SOURCE = 1
X_PWD_H = 1
X_SIZET_ = 0
X_SIZE_T = 0
X_SIZE_T_ = 0
X_SIZE_T_DECLARED = 0
X_SIZE_T_DEFINED = 0
X_SIZE_T_DEFINED_ = 0
X_STDC_PREDEF_H = 1
X_SYS_CDEFS_H = 1
X_SYS_SIZE_T_H = 0
X_T_SIZE = 0
X_T_SIZE_ = 0
Linux = 1
Unix = 1
NSS_BUFLEN_PASSWD = 1024 // pwd.h:123:1:
X_ATFILE_SOURCE = 1 // features.h:342:1:
X_BITS_TIME64_H = 1 // time64.h:24:1:
X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1:
X_BITS_TYPES_H = 1 // types.h:24:1:
X_BSD_SIZE_T_ = 0 // stddef.h:189:1:
X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1:
X_DEFAULT_SOURCE = 1 // features.h:227:1:
X_FEATURES_H = 1 // features.h:19:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_GCC_SIZE_T = 0 // stddef.h:195:1:
X_LP64 = 1 // <predefined>:284:1:
X_POSIX_C_SOURCE = 200809 // features.h:281:1:
X_POSIX_SOURCE = 1 // features.h:279:1:
X_PWD_H = 1 // pwd.h:23:1:
X_SIZET_ = 0 // stddef.h:196:1:
X_SIZE_T = 0 // stddef.h:183:1:
X_SIZE_T_ = 0 // stddef.h:188:1:
X_SIZE_T_DECLARED = 0 // stddef.h:193:1:
X_SIZE_T_DEFINED = 0 // stddef.h:191:1:
X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1:
X_STDC_PREDEF_H = 1 // <predefined>:162:1:
X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
X_SYS_SIZE_T_H = 0 // stddef.h:184:1:
X_T_SIZE = 0 // stddef.h:186:1:
X_T_SIZE_ = 0 // stddef.h:185:1:
Linux = 1 // <predefined>:231:1:
Unix = 1 // <predefined>:177:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -62,7 +63,7 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -77,11 +78,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 9.2.2 User Database Access <pwd.h>
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -96,7 +97,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -104,6 +105,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
@ -224,6 +226,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
@ -246,9 +250,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -263,7 +280,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
@ -276,7 +293,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -291,7 +308,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -406,7 +423,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
@ -427,11 +444,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
// Both x86-64 and x32 use the 64-bit system call interface.
// Properties of long double type. ldbl-96 version.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -446,7 +467,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// long double is distinct from double, so there is nothing to
// define here.
@ -484,7 +505,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// every time called, usually setting errno to ENOSYS.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -499,11 +520,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -518,45 +539,64 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
// Both x86-64 and x32 use the 64-bit system call interface.
// Bit size of the time_t type at glibc build time, x86-64 and x32 case.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// For others, time size is word size.
// Convenience types.
type X__u_char = uint8 /* types.h:30:23 */
type X__u_short = uint16 /* types.h:31:28 */
type X__u_int = uint32 /* types.h:32:22 */
type X__u_long = uint64 /* types.h:33:27 */
type X__u_char = uint8 /* types.h:31:23 */
type X__u_short = uint16 /* types.h:32:28 */
type X__u_int = uint32 /* types.h:33:22 */
type X__u_long = uint64 /* types.h:34:27 */
// Fixed-size types, underlying types depend on word size and compiler.
type X__int8_t = int8 /* types.h:36:21 */
type X__uint8_t = uint8 /* types.h:37:23 */
type X__int16_t = int16 /* types.h:38:26 */
type X__uint16_t = uint16 /* types.h:39:28 */
type X__int32_t = int32 /* types.h:40:20 */
type X__uint32_t = uint32 /* types.h:41:22 */
type X__int64_t = int64 /* types.h:43:25 */
type X__uint64_t = uint64 /* types.h:44:27 */
type X__int8_t = int8 /* types.h:37:21 */
type X__uint8_t = uint8 /* types.h:38:23 */
type X__int16_t = int16 /* types.h:39:26 */
type X__uint16_t = uint16 /* types.h:40:28 */
type X__int32_t = int32 /* types.h:41:20 */
type X__uint32_t = uint32 /* types.h:42:22 */
type X__int64_t = int64 /* types.h:44:25 */
type X__uint64_t = uint64 /* types.h:45:27 */
// Smallest types with at least a given width.
type X__int_least8_t = X__int8_t /* types.h:51:18 */
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__int_least16_t = X__int16_t /* types.h:53:19 */
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
type X__int_least8_t = X__int8_t /* types.h:52:18 */
type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
type X__int_least16_t = X__int16_t /* types.h:54:19 */
type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
type X__int_least32_t = X__int32_t /* types.h:56:19 */
type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
type X__int_least64_t = X__int64_t /* types.h:58:19 */
type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
// quad_t is also 64 bits.
type X__quad_t = int64 /* types.h:62:18 */
type X__u_quad_t = uint64 /* types.h:63:27 */
type X__quad_t = int64 /* types.h:63:18 */
type X__u_quad_t = uint64 /* types.h:64:27 */
// Largest integral types.
type X__intmax_t = int64 /* types.h:71:18 */
type X__uintmax_t = uint64 /* types.h:72:27 */
type X__intmax_t = int64 /* types.h:72:18 */
type X__uintmax_t = uint64 /* types.h:73:27 */
// The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
// macros for each of the OS types we define below. The definitions
@ -568,7 +608,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// 32 -- "natural" 32-bit type (always int)
// 64 -- "natural" 64-bit type (long or long long)
// LONG32 -- 32-bit type, traditionally long
// QUAD -- 64-bit type, always long long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@ -589,7 +629,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// No need to mark the typedef with __extension__.
// bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version.
// Copyright (C) 2012-2018 Free Software Foundation, Inc.
// Copyright (C) 2012-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -604,7 +644,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// See <bits/types.h> for the meaning of these macros. This file exists so
// that <bits/types.h> need not vary across different GNU platforms.
@ -619,78 +659,104 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// And for __rlim_t and __rlim64_t.
// And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t.
// Number of descriptors that can fit in an `fd_set'.
type X__dev_t = uint64 /* types.h:143:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
type X__ino_t = uint64 /* types.h:146:25 */ // Type of file serial numbers.
type X__ino64_t = uint64 /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint64 /* types.h:149:27 */ // Type of file link counts.
type X__off_t = int64 /* types.h:150:25 */ // Type of file sizes and offsets.
type X__off64_t = int64 /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__clock_t = int64 /* types.h:154:27 */ // Type of CPU usage counts.
type X__rlim_t = uint64 /* types.h:155:26 */ // Type for resource measurement.
type X__rlim64_t = uint64 /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
type X__time_t = int64 /* types.h:158:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
type X__suseconds_t = int64 /* types.h:160:31 */ // Signed count of microseconds.
// bits/time64.h -- underlying types for __time64_t. Generic version.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
// Define __TIME64_T_TYPE so that it is always a 64-bit type.
// If we already have 64-bit time type then use it.
type X__dev_t = uint64 /* types.h:145:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications.
type X__ino_t = uint64 /* types.h:148:25 */ // Type of file serial numbers.
type X__ino64_t = uint64 /* types.h:149:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint64 /* types.h:151:27 */ // Type of file link counts.
type X__off_t = int64 /* types.h:152:25 */ // Type of file sizes and offsets.
type X__off64_t = int64 /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
type X__clock_t = int64 /* types.h:156:27 */ // Type of CPU usage counts.
type X__rlim_t = uint64 /* types.h:157:26 */ // Type for resource measurement.
type X__rlim64_t = uint64 /* types.h:158:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs.
type X__time_t = int64 /* types.h:160:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
type X__suseconds_t = int64 /* types.h:162:31 */ // Signed count of microseconds.
type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key.
// Clock ID used in clock and timer functions.
type X__clockid_t = int32 /* types.h:166:29 */
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:169:12 */
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int64 /* types.h:172:29 */
type X__blksize_t = int64 /* types.h:174:29 */
// Types from the Large File Support interface.
// Type to count number of disk blocks.
type X__blkcnt_t = int64 /* types.h:177:28 */
type X__blkcnt64_t = int64 /* types.h:178:30 */
type X__blkcnt_t = int64 /* types.h:179:28 */
type X__blkcnt64_t = int64 /* types.h:180:30 */
// Type to count file system blocks.
type X__fsblkcnt_t = uint64 /* types.h:181:30 */
type X__fsblkcnt64_t = uint64 /* types.h:182:32 */
type X__fsblkcnt_t = uint64 /* types.h:183:30 */
type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
// Type to count file system nodes.
type X__fsfilcnt_t = uint64 /* types.h:185:30 */
type X__fsfilcnt64_t = uint64 /* types.h:186:32 */
type X__fsfilcnt_t = uint64 /* types.h:187:30 */
type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
// Type of miscellaneous file system fields.
type X__fsword_t = int64 /* types.h:189:28 */
type X__fsword_t = int64 /* types.h:191:28 */
type X__ssize_t = int64 /* types.h:191:27 */ // Type of a byte count, or error.
type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
// Signed long type used in system calls.
type X__syscall_slong_t = int64 /* types.h:194:33 */
type X__syscall_slong_t = int64 /* types.h:196:33 */
// Unsigned long type used in system calls.
type X__syscall_ulong_t = uint64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:201:14 */
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
// Duplicates info from stdint.h but this is used in unistd.h.
type X__intptr_t = int64 /* types.h:204:25 */
type X__intptr_t = int64 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:207:23 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:212:13 */
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Wide character type.
// Locale-writers should change this as necessary to
@ -700,15 +766,11 @@ type X__sig_atomic_t = int32 /* types.h:212:13 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* pwd.h:38:17 */
type Uid_t = X__uid_t /* pwd.h:43:17 */

View File

@ -17,6 +17,7 @@ var _ unsafe.Pointer
const (
NSS_BUFLEN_PASSWD = 1024
X_ATFILE_SOURCE = 1
X_BITS_TIME64_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BSD_SIZE_T_ = 0
@ -52,7 +53,7 @@ type Wchar_t = uint32 /* <builtin>:15:24 */
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -67,11 +68,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 9.2.2 User Database Access <pwd.h>
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -86,7 +87,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -94,6 +95,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
@ -214,6 +216,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
@ -236,9 +240,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -253,7 +270,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
@ -266,7 +283,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -281,7 +298,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -396,7 +413,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
@ -417,7 +434,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Copyright (C) 1999-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -432,10 +453,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Properties of long double type.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -450,7 +471,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This header is included by <sys/cdefs.h>.
//
@ -504,7 +525,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// every time called, usually setting errno to ENOSYS.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -519,11 +540,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -538,9 +559,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Copyright (C) 1999-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -555,41 +576,78 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Bit size of the time_t type at glibc build time, general case.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1999-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Size in bits of the 'time_t' type of the default ABI.
// Convenience types.
type X__u_char = uint8 /* types.h:30:23 */
type X__u_short = uint16 /* types.h:31:28 */
type X__u_int = uint32 /* types.h:32:22 */
type X__u_long = uint32 /* types.h:33:27 */
type X__u_char = uint8 /* types.h:31:23 */
type X__u_short = uint16 /* types.h:32:28 */
type X__u_int = uint32 /* types.h:33:22 */
type X__u_long = uint32 /* types.h:34:27 */
// Fixed-size types, underlying types depend on word size and compiler.
type X__int8_t = int8 /* types.h:36:21 */
type X__uint8_t = uint8 /* types.h:37:23 */
type X__int16_t = int16 /* types.h:38:26 */
type X__uint16_t = uint16 /* types.h:39:28 */
type X__int32_t = int32 /* types.h:40:20 */
type X__uint32_t = uint32 /* types.h:41:22 */
type X__int64_t = int64 /* types.h:46:44 */
type X__uint64_t = uint64 /* types.h:47:46 */
type X__int8_t = int8 /* types.h:37:21 */
type X__uint8_t = uint8 /* types.h:38:23 */
type X__int16_t = int16 /* types.h:39:26 */
type X__uint16_t = uint16 /* types.h:40:28 */
type X__int32_t = int32 /* types.h:41:20 */
type X__uint32_t = uint32 /* types.h:42:22 */
type X__int64_t = int64 /* types.h:47:44 */
type X__uint64_t = uint64 /* types.h:48:46 */
// Smallest types with at least a given width.
type X__int_least8_t = X__int8_t /* types.h:51:18 */
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__int_least16_t = X__int16_t /* types.h:53:19 */
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
type X__int_least8_t = X__int8_t /* types.h:52:18 */
type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
type X__int_least16_t = X__int16_t /* types.h:54:19 */
type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
type X__int_least32_t = X__int32_t /* types.h:56:19 */
type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
type X__int_least64_t = X__int64_t /* types.h:58:19 */
type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
// quad_t is also 64 bits.
type X__quad_t = int64 /* types.h:65:37 */
type X__u_quad_t = uint64 /* types.h:66:46 */
type X__quad_t = int64 /* types.h:66:37 */
type X__u_quad_t = uint64 /* types.h:67:46 */
// Largest integral types.
type X__intmax_t = int64 /* types.h:74:37 */
type X__uintmax_t = uint64 /* types.h:75:46 */
type X__intmax_t = int64 /* types.h:75:37 */
type X__uintmax_t = uint64 /* types.h:76:46 */
// The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
// macros for each of the OS types we define below. The definitions
@ -601,7 +659,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// 32 -- "natural" 32-bit type (always int)
// 64 -- "natural" 64-bit type (long or long long)
// LONG32 -- 32-bit type, traditionally long
// QUAD -- 64-bit type, always long long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@ -623,7 +681,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// We want __extension__ before typedef's that use nonstandard base types
// such as `long long' in C89 mode.
// bits/typesizes.h -- underlying types for *_t. Generic version.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -638,83 +696,113 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// See <bits/types.h> for the meaning of these macros. This file exists so
// that <bits/types.h> need not vary across different GNU platforms.
// Number of descriptors that can fit in an `fd_set'.
type X__dev_t = X__u_quad_t /* types.h:143:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
type X__ino_t = uint32 /* types.h:146:25 */ // Type of file serial numbers.
type X__ino64_t = X__u_quad_t /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint32 /* types.h:149:27 */ // Type of file link counts.
type X__off_t = int32 /* types.h:150:25 */ // Type of file sizes and offsets.
type X__off64_t = X__quad_t /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__clock_t = int32 /* types.h:154:27 */ // Type of CPU usage counts.
type X__rlim_t = uint32 /* types.h:155:26 */ // Type for resource measurement.
type X__rlim64_t = X__u_quad_t /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
type X__time_t = int32 /* types.h:158:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
type X__suseconds_t = int32 /* types.h:160:31 */ // Signed count of microseconds.
// bits/time64.h -- underlying types for __time64_t. Generic version.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
// Define __TIME64_T_TYPE so that it is always a 64-bit type.
// Define a 64-bit time type alongsize the 32-bit one.
type X__dev_t = X__uint64_t /* types.h:145:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications.
type X__ino_t = uint32 /* types.h:148:25 */ // Type of file serial numbers.
type X__ino64_t = X__uint64_t /* types.h:149:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint32 /* types.h:151:27 */ // Type of file link counts.
type X__off_t = int32 /* types.h:152:25 */ // Type of file sizes and offsets.
type X__off64_t = X__int64_t /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
type X__clock_t = int32 /* types.h:156:27 */ // Type of CPU usage counts.
type X__rlim_t = uint32 /* types.h:157:26 */ // Type for resource measurement.
type X__rlim64_t = X__uint64_t /* types.h:158:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs.
type X__time_t = int32 /* types.h:160:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
type X__suseconds_t = int32 /* types.h:162:31 */ // Signed count of microseconds.
type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key.
// Clock ID used in clock and timer functions.
type X__clockid_t = int32 /* types.h:166:29 */
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:169:12 */
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int32 /* types.h:172:29 */
type X__blksize_t = int32 /* types.h:174:29 */
// Types from the Large File Support interface.
// Type to count number of disk blocks.
type X__blkcnt_t = int32 /* types.h:177:28 */
type X__blkcnt64_t = X__quad_t /* types.h:178:30 */
type X__blkcnt_t = int32 /* types.h:179:28 */
type X__blkcnt64_t = X__int64_t /* types.h:180:30 */
// Type to count file system blocks.
type X__fsblkcnt_t = uint32 /* types.h:181:30 */
type X__fsblkcnt64_t = X__u_quad_t /* types.h:182:32 */
type X__fsblkcnt_t = uint32 /* types.h:183:30 */
type X__fsblkcnt64_t = X__uint64_t /* types.h:184:32 */
// Type to count file system nodes.
type X__fsfilcnt_t = uint32 /* types.h:185:30 */
type X__fsfilcnt64_t = X__u_quad_t /* types.h:186:32 */
type X__fsfilcnt_t = uint32 /* types.h:187:30 */
type X__fsfilcnt64_t = X__uint64_t /* types.h:188:32 */
// Type of miscellaneous file system fields.
type X__fsword_t = int32 /* types.h:189:28 */
type X__fsword_t = int32 /* types.h:191:28 */
type X__ssize_t = int32 /* types.h:191:27 */ // Type of a byte count, or error.
type X__ssize_t = int32 /* types.h:193:27 */ // Type of a byte count, or error.
// Signed long type used in system calls.
type X__syscall_slong_t = int32 /* types.h:194:33 */
type X__syscall_slong_t = int32 /* types.h:196:33 */
// Unsigned long type used in system calls.
type X__syscall_ulong_t = uint32 /* types.h:196:33 */
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:201:14 */
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
// Duplicates info from stdint.h but this is used in unistd.h.
type X__intptr_t = int32 /* types.h:204:25 */
type X__intptr_t = int32 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:207:23 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:212:13 */
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
//
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type X__time64_t = X__int64_t /* types.h:222:28 */
// Wide character type.
// Locale-writers should change this as necessary to
@ -724,15 +812,11 @@ type X__sig_atomic_t = int32 /* types.h:212:13 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* pwd.h:38:17 */
type Uid_t = X__uid_t /* pwd.h:43:17 */
@ -748,4 +832,4 @@ type Passwd = struct {
Fpw_shell uintptr
} /* pwd.h:49:1 */
var _ int8 /* gen.c:2:13: */
var _ uint8 /* gen.c:2:13: */

View File

@ -17,6 +17,7 @@ var _ unsafe.Pointer
const (
NSS_BUFLEN_PASSWD = 1024
X_ATFILE_SOURCE = 1
X_BITS_TIME64_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BSD_SIZE_T_ = 0
@ -62,7 +63,7 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -77,11 +78,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 9.2.2 User Database Access <pwd.h>
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -96,7 +97,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -104,6 +105,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
@ -224,6 +226,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
@ -246,9 +250,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -263,7 +280,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
@ -276,7 +293,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -291,7 +308,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -406,7 +423,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
@ -427,9 +444,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
//
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -444,10 +465,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Properties of long double type. ldbl-128 version.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -462,7 +483,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// long double is distinct from double, so there is nothing to
// define here.
@ -496,7 +517,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Determine the wordsize from the preprocessor defines.
//
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -511,7 +532,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This file is automatically generated.
// It defines a symbol `__stub_FUNCTION' for each function
@ -519,7 +540,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// every time called, usually setting errno to ENOSYS.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -534,11 +555,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -553,11 +574,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
//
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -572,41 +593,80 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Bit size of the time_t type at glibc build time, general case.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
//
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Size in bits of the 'time_t' type of the default ABI.
// Convenience types.
type X__u_char = uint8 /* types.h:30:23 */
type X__u_short = uint16 /* types.h:31:28 */
type X__u_int = uint32 /* types.h:32:22 */
type X__u_long = uint64 /* types.h:33:27 */
type X__u_char = uint8 /* types.h:31:23 */
type X__u_short = uint16 /* types.h:32:28 */
type X__u_int = uint32 /* types.h:33:22 */
type X__u_long = uint64 /* types.h:34:27 */
// Fixed-size types, underlying types depend on word size and compiler.
type X__int8_t = int8 /* types.h:36:21 */
type X__uint8_t = uint8 /* types.h:37:23 */
type X__int16_t = int16 /* types.h:38:26 */
type X__uint16_t = uint16 /* types.h:39:28 */
type X__int32_t = int32 /* types.h:40:20 */
type X__uint32_t = uint32 /* types.h:41:22 */
type X__int64_t = int64 /* types.h:43:25 */
type X__uint64_t = uint64 /* types.h:44:27 */
type X__int8_t = int8 /* types.h:37:21 */
type X__uint8_t = uint8 /* types.h:38:23 */
type X__int16_t = int16 /* types.h:39:26 */
type X__uint16_t = uint16 /* types.h:40:28 */
type X__int32_t = int32 /* types.h:41:20 */
type X__uint32_t = uint32 /* types.h:42:22 */
type X__int64_t = int64 /* types.h:44:25 */
type X__uint64_t = uint64 /* types.h:45:27 */
// Smallest types with at least a given width.
type X__int_least8_t = X__int8_t /* types.h:51:18 */
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__int_least16_t = X__int16_t /* types.h:53:19 */
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
type X__int_least8_t = X__int8_t /* types.h:52:18 */
type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
type X__int_least16_t = X__int16_t /* types.h:54:19 */
type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
type X__int_least32_t = X__int32_t /* types.h:56:19 */
type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
type X__int_least64_t = X__int64_t /* types.h:58:19 */
type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
// quad_t is also 64 bits.
type X__quad_t = int64 /* types.h:62:18 */
type X__u_quad_t = uint64 /* types.h:63:27 */
type X__quad_t = int64 /* types.h:63:18 */
type X__u_quad_t = uint64 /* types.h:64:27 */
// Largest integral types.
type X__intmax_t = int64 /* types.h:71:18 */
type X__uintmax_t = uint64 /* types.h:72:27 */
type X__intmax_t = int64 /* types.h:72:18 */
type X__uintmax_t = uint64 /* types.h:73:27 */
// The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
// macros for each of the OS types we define below. The definitions
@ -618,7 +678,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// 32 -- "natural" 32-bit type (always int)
// 64 -- "natural" 64-bit type (long or long long)
// LONG32 -- 32-bit type, traditionally long
// QUAD -- 64-bit type, always long long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@ -639,7 +699,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// No need to mark the typedef with __extension__.
// bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI.
// Copyright (C) 2011-2018 Free Software Foundation, Inc.
// Copyright (C) 2011-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
// Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
//
@ -655,7 +715,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library. If not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// See <bits/types.h> for the meaning of these macros. This file exists so
// that <bits/types.h> need not vary across different GNU platforms.
@ -668,78 +728,103 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// And for __rlim_t and __rlim64_t.
// And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t.
// Number of descriptors that can fit in an `fd_set'.
type X__dev_t = uint64 /* types.h:143:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
type X__ino_t = uint64 /* types.h:146:25 */ // Type of file serial numbers.
type X__ino64_t = uint64 /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint32 /* types.h:149:27 */ // Type of file link counts.
type X__off_t = int64 /* types.h:150:25 */ // Type of file sizes and offsets.
type X__off64_t = int64 /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__clock_t = int64 /* types.h:154:27 */ // Type of CPU usage counts.
type X__rlim_t = uint64 /* types.h:155:26 */ // Type for resource measurement.
type X__rlim64_t = uint64 /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
type X__time_t = int64 /* types.h:158:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
type X__suseconds_t = int64 /* types.h:160:31 */ // Signed count of microseconds.
// bits/time64.h -- underlying types for __time64_t. Generic version.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
// Define __TIME64_T_TYPE so that it is always a 64-bit type.
// If we already have 64-bit time type then use it.
type X__dev_t = uint64 /* types.h:145:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications.
type X__ino_t = uint64 /* types.h:148:25 */ // Type of file serial numbers.
type X__ino64_t = uint64 /* types.h:149:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint32 /* types.h:151:27 */ // Type of file link counts.
type X__off_t = int64 /* types.h:152:25 */ // Type of file sizes and offsets.
type X__off64_t = int64 /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
type X__clock_t = int64 /* types.h:156:27 */ // Type of CPU usage counts.
type X__rlim_t = uint64 /* types.h:157:26 */ // Type for resource measurement.
type X__rlim64_t = uint64 /* types.h:158:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs.
type X__time_t = int64 /* types.h:160:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
type X__suseconds_t = int64 /* types.h:162:31 */ // Signed count of microseconds.
type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key.
// Clock ID used in clock and timer functions.
type X__clockid_t = int32 /* types.h:166:29 */
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:169:12 */
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int32 /* types.h:172:29 */
type X__blksize_t = int32 /* types.h:174:29 */
// Types from the Large File Support interface.
// Type to count number of disk blocks.
type X__blkcnt_t = int64 /* types.h:177:28 */
type X__blkcnt64_t = int64 /* types.h:178:30 */
type X__blkcnt_t = int64 /* types.h:179:28 */
type X__blkcnt64_t = int64 /* types.h:180:30 */
// Type to count file system blocks.
type X__fsblkcnt_t = uint64 /* types.h:181:30 */
type X__fsblkcnt64_t = uint64 /* types.h:182:32 */
type X__fsblkcnt_t = uint64 /* types.h:183:30 */
type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
// Type to count file system nodes.
type X__fsfilcnt_t = uint64 /* types.h:185:30 */
type X__fsfilcnt64_t = uint64 /* types.h:186:32 */
type X__fsfilcnt_t = uint64 /* types.h:187:30 */
type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
// Type of miscellaneous file system fields.
type X__fsword_t = int64 /* types.h:189:28 */
type X__fsword_t = int64 /* types.h:191:28 */
type X__ssize_t = int64 /* types.h:191:27 */ // Type of a byte count, or error.
type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
// Signed long type used in system calls.
type X__syscall_slong_t = int64 /* types.h:194:33 */
type X__syscall_slong_t = int64 /* types.h:196:33 */
// Unsigned long type used in system calls.
type X__syscall_ulong_t = uint64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:201:14 */
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
// Duplicates info from stdint.h but this is used in unistd.h.
type X__intptr_t = int64 /* types.h:204:25 */
type X__intptr_t = int64 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:207:23 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:212:13 */
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Wide character type.
// Locale-writers should change this as necessary to
@ -749,15 +834,11 @@ type X__sig_atomic_t = int32 /* types.h:212:13 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* pwd.h:38:17 */
type Uid_t = X__uid_t /* pwd.h:43:17 */
@ -773,4 +854,4 @@ type Passwd = struct {
Fpw_shell uintptr
} /* pwd.h:49:1 */
var _ int8 /* gen.c:2:13: */
var _ uint8 /* gen.c:2:13: */

View File

@ -440,7 +440,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// array_name[restrict]
// GCC 3.1 supports this.
// Describes a char array whose address can safely be passed as the first
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
@ -734,7 +740,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@ -745,8 +752,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Wide character type.
@ -757,15 +765,11 @@ type X__sig_atomic_t = int32 /* types.h:214:13 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* pwd.h:38:17 */
type Uid_t = X__uid_t /* pwd.h:43:17 */

View File

@ -1,4 +1,4 @@
// 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 -o pwd/pwd_netbsd_amd64.go -pkgname pwd', DO NOT EDIT.
// 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_netbsd_amd64.go -pkgname pwd', DO NOT EDIT.
package pwd
@ -15,151 +15,149 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
FD_SETSIZE = 256
INT16_MAX = 32767
INT16_MIN = -32768
INT32_MAX = 2147483647
INT32_MIN = -2147483648
INT64_MAX = 9223372036854775807
INT64_MIN = -9223372036854775808
INT8_MAX = 127
INT8_MIN = -128
INTMAX_MAX = 9223372036854775807
INTMAX_MIN = -9223372036854775808
INTPTR_MAX = 9223372036854775807
INTPTR_MIN = -9223372036854775808
INT_FAST16_MAX = 2147483647
INT_FAST16_MIN = -2147483648
INT_FAST32_MAX = 2147483647
INT_FAST32_MIN = -2147483648
INT_FAST64_MAX = 9223372036854775807
INT_FAST64_MIN = -9223372036854775808
INT_FAST8_MAX = 2147483647
INT_FAST8_MIN = -2147483648
INT_LEAST16_MAX = 32767
INT_LEAST16_MIN = -32768
INT_LEAST32_MAX = 2147483647
INT_LEAST32_MIN = -2147483648
INT_LEAST64_MAX = 9223372036854775807
INT_LEAST64_MIN = -9223372036854775808
INT_LEAST8_MAX = 127
INT_LEAST8_MIN = -128
LITTLE_ENDIAN = 1234
NBBY = 8
NFDBITS = 32
NODEVMAJOR = -1
PDP_ENDIAN = 3412
PTRDIFF_MAX = 9223372036854775807
PTRDIFF_MIN = -9223372036854775808
SIG_ATOMIC_MAX = 2147483647
SIG_ATOMIC_MIN = -2147483648
SIZE_MAX = 18446744073709551615
UINT16_MAX = 65535
UINT32_MAX = 4294967295
UINT64_MAX = 18446744073709551615
UINT8_MAX = 255
UINTMAX_MAX = 18446744073709551615
UINTPTR_MAX = 18446744073709551615
UINT_FAST16_MAX = 4294967295
UINT_FAST32_MAX = 4294967295
UINT_FAST64_MAX = 18446744073709551615
UINT_FAST8_MAX = 4294967295
UINT_LEAST16_MAX = 65535
UINT_LEAST32_MAX = 4294967295
UINT_LEAST64_MAX = 18446744073709551615
UINT_LEAST8_MAX = 255
WCHAR_MAX = 0x7fffffff
WCHAR_MIN = -2147483648
WINT_MAX = 0x7fffffff
WINT_MIN = -2147483648
X_AMD64_BYTE_SWAP_H_ = 0
X_AMD64_INT_CONST_H_ = 0
X_AMD64_INT_LIMITS_H_ = 0
X_AMD64_INT_MWGWTYPES_H_ = 0
X_AMD64_INT_TYPES_H_ = 0
X_AMD64_WCHAR_LIMITS_H_ = 0
X_BIG_ENDIAN = 4321
X_BSD_INT16_T_ = 0
X_BSD_INT32_T_ = 0
X_BSD_INT64_T_ = 0
X_BSD_INT8_T_ = 0
X_BSD_INTPTR_T_ = 0
X_BSD_UINT16_T_ = 0
X_BSD_UINT32_T_ = 0
X_BSD_UINT64_T_ = 0
X_BSD_UINT8_T_ = 0
X_BSD_UINTPTR_T_ = 0
X_BYTE_ORDER = 1234
X_FILE_OFFSET_BITS = 64
X_GCC_PTRDIFF_T = 0
X_GCC_SIZE_T = 0
X_LIB_PTHREAD_TYPES_H = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_PASSWORD_CHGNOW = -1
X_PASSWORD_EFMT1 = 95
X_PASSWORD_LEN = 128
X_PASSWORD_NOCHG = 0x04
X_PASSWORD_NOEXP = 0x08
X_PASSWORD_NOGID = 0x02
X_PASSWORD_NONDES = 36
X_PASSWORD_NOUID = 0x01
X_PASSWORD_NOWARN = 0x20
X_PASSWORD_OLDFMT = 0x10
X_PASSWORD_WARNDAYS = 14
X_PATH_MASTERPASSWD = "/etc/master.passwd"
X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp"
X_PATH_MP_DB = "/etc/pwd.db"
X_PATH_PASSWD = "/etc/passwd"
X_PATH_PASSWD_CONF = "/etc/passwd.conf"
X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb"
X_PATH_SMP_DB = "/etc/spwd.db"
X_PATH_USERMGMT_CONF = "/etc/usermgmt.conf"
X_PDP_ENDIAN = 3412
X_PT_BARRIERATTR_DEAD = 0xDEAD0808
X_PT_BARRIERATTR_MAGIC = 0x88880808
X_PT_BARRIER_DEAD = 0xDEAD0008
X_PT_BARRIER_MAGIC = 0x88880008
X_PT_CONDATTR_DEAD = 0xDEAD0006
X_PT_CONDATTR_MAGIC = 0x66660006
X_PT_COND_DEAD = 0xDEAD0005
X_PT_COND_MAGIC = 0x55550005
X_PT_MUTEXATTR_DEAD = 0xDEAD0004
X_PT_MUTEXATTR_MAGIC = 0x44440004
X_PT_MUTEX_DEAD = 0xDEAD0003
X_PT_MUTEX_MAGIC = 0x33330003
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909
X_PT_RWLOCKATTR_MAGIC = 0x99990909
X_PT_RWLOCK_DEAD = 0xDEAD0009
X_PT_RWLOCK_MAGIC = 0x99990009
X_PT_SPINLOCK_DEAD = 0xDEAD0007
X_PT_SPINLOCK_MAGIC = 0x77770007
X_PT_SPINLOCK_PSHARED = 0x00000001
X_PWD_H_ = 0
X_PW_KEYBYNAME = 49
X_PW_KEYBYNUM = 50
X_PW_KEYBYUID = 51
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_SIZE_T = 0
X_SYS_ANSI_H_ = 0
X_SYS_BSWAP_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_SYS_COMMON_ANSI_H_ = 0
X_SYS_COMMON_INT_LIMITS_H_ = 0
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0
X_SYS_COMMON_INT_TYPES_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_FD_SET_H_ = 0
X_SYS_STDINT_H_ = 0
X_SYS_TYPES_H_ = 0
X_X86_64_BSWAP_H_ = 0
X_X86_64_CDEFS_H_ = 0
X_X86_64_TYPES_H_ = 0
BIG_ENDIAN = 4321 // endian.h:101:1:
BYTE_ORDER = 1234 // endian.h:103:1:
FD_SETSIZE = 256 // fd_set.h:59:1:
INT16_MAX = 32767 // common_int_limits.h:53:1:
INT16_MIN = -32768 // common_int_limits.h:47:1:
INT32_MAX = 2147483647 // common_int_limits.h:54:1:
INT32_MIN = -2147483648 // common_int_limits.h:48:1:
INT64_MAX = 9223372036854775807 // common_int_limits.h:55:1:
INT64_MIN = -9223372036854775808 // common_int_limits.h:49:1:
INT8_MAX = 127 // common_int_limits.h:52:1:
INT8_MIN = -128 // common_int_limits.h:46:1:
INTMAX_MAX = 9223372036854775807 // common_int_limits.h:111:1:
INTMAX_MIN = -9223372036854775808 // common_int_limits.h:110:1:
INTPTR_MAX = 9223372036854775807 // common_int_limits.h:105:1:
INTPTR_MIN = -9223372036854775808 // common_int_limits.h:104:1:
INT_FAST16_MAX = 2147483647 // common_int_limits.h:93:1:
INT_FAST16_MIN = -2147483648 // common_int_limits.h:87:1:
INT_FAST32_MAX = 2147483647 // common_int_limits.h:94:1:
INT_FAST32_MIN = -2147483648 // common_int_limits.h:88:1:
INT_FAST64_MAX = 9223372036854775807 // common_int_limits.h:95:1:
INT_FAST64_MIN = -9223372036854775808 // common_int_limits.h:89:1:
INT_FAST8_MAX = 2147483647 // common_int_limits.h:92:1:
INT_FAST8_MIN = -2147483648 // common_int_limits.h:86:1:
INT_LEAST16_MAX = 32767 // common_int_limits.h:73:1:
INT_LEAST16_MIN = -32768 // common_int_limits.h:67:1:
INT_LEAST32_MAX = 2147483647 // common_int_limits.h:74:1:
INT_LEAST32_MIN = -2147483648 // common_int_limits.h:68:1:
INT_LEAST64_MAX = 9223372036854775807 // common_int_limits.h:75:1:
INT_LEAST64_MIN = -9223372036854775808 // common_int_limits.h:69:1:
INT_LEAST8_MAX = 127 // common_int_limits.h:72:1:
INT_LEAST8_MIN = -128 // common_int_limits.h:66:1:
LITTLE_ENDIAN = 1234 // endian.h:100:1:
NBBY = 8 // types.h:316:1:
NFDBITS = 32 // fd_set.h:93:1:
NODEVMAJOR = -1 // types.h:258:1:
PDP_ENDIAN = 3412 // endian.h:102:1:
PTRDIFF_MAX = 9223372036854775807 // common_int_limits.h:121:1:
PTRDIFF_MIN = -9223372036854775808 // common_int_limits.h:120:1:
SIG_ATOMIC_MAX = 2147483647 // common_int_limits.h:125:1:
SIG_ATOMIC_MIN = -2147483648 // common_int_limits.h:124:1:
SIZE_MAX = 18446744073709551615 // common_int_limits.h:128:1:
UINT16_MAX = 65535 // common_int_limits.h:59:1:
UINT32_MAX = 4294967295 // common_int_limits.h:60:1:
UINT64_MAX = 18446744073709551615 // common_int_limits.h:61:1:
UINT8_MAX = 255 // common_int_limits.h:58:1:
UINTMAX_MAX = 18446744073709551615 // common_int_limits.h:112:1:
UINTPTR_MAX = 18446744073709551615 // common_int_limits.h:106:1:
UINT_FAST16_MAX = 4294967295 // common_int_limits.h:99:1:
UINT_FAST32_MAX = 4294967295 // common_int_limits.h:100:1:
UINT_FAST64_MAX = 18446744073709551615 // common_int_limits.h:101:1:
UINT_FAST8_MAX = 4294967295 // common_int_limits.h:98:1:
UINT_LEAST16_MAX = 65535 // common_int_limits.h:79:1:
UINT_LEAST32_MAX = 4294967295 // common_int_limits.h:80:1:
UINT_LEAST64_MAX = 18446744073709551615 // common_int_limits.h:81:1:
UINT_LEAST8_MAX = 255 // common_int_limits.h:78:1:
WCHAR_MAX = 0x7fffffff // wchar_limits.h:41:1:
WCHAR_MIN = -2147483648 // wchar_limits.h:40:1:
WINT_MAX = 0x7fffffff // wchar_limits.h:45:1:
WINT_MIN = -2147483648 // wchar_limits.h:44:1:
X_AMD64_BYTE_SWAP_H_ = 0 // byte_swap.h:37:1:
X_AMD64_INT_CONST_H_ = 0 // int_const.h:33:1:
X_AMD64_INT_LIMITS_H_ = 0 // int_limits.h:33:1:
X_AMD64_INT_MWGWTYPES_H_ = 0 // int_mwgwtypes.h:33:1:
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
X_AMD64_WCHAR_LIMITS_H_ = 0 // wchar_limits.h:33:1:
X_BIG_ENDIAN = 4321 // endian.h:44:1:
X_BSD_INT16_T_ = 0 // types.h:65:1:
X_BSD_INT32_T_ = 0 // types.h:75:1:
X_BSD_INT64_T_ = 0 // types.h:85:1:
X_BSD_INT8_T_ = 0 // types.h:55:1:
X_BSD_INTPTR_T_ = 0 // stdint.h:80:1:
X_BSD_UINT16_T_ = 0 // types.h:70:1:
X_BSD_UINT32_T_ = 0 // types.h:80:1:
X_BSD_UINT64_T_ = 0 // types.h:90:1:
X_BSD_UINT8_T_ = 0 // types.h:60:1:
X_BSD_UINTPTR_T_ = 0 // stdint.h:85:1:
X_BYTE_ORDER = 1234 // endian_machdep.h:3:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LIB_PTHREAD_TYPES_H = 0 // pthread_types.h:33:1:
X_LITTLE_ENDIAN = 1234 // endian.h:43:1:
X_LP64 = 1 // <predefined>:268:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_PASSWORD_CHGNOW = -1 // pwd.h:103:1:
X_PASSWORD_EFMT1 = 95 // pwd.h:89:1:
X_PASSWORD_LEN = 128 // pwd.h:92:1:
X_PASSWORD_NOCHG = 0x04 // pwd.h:96:1:
X_PASSWORD_NOEXP = 0x08 // pwd.h:97:1:
X_PASSWORD_NOGID = 0x02 // pwd.h:95:1:
X_PASSWORD_NONDES = 36 // pwd.h:90:1:
X_PASSWORD_NOUID = 0x01 // pwd.h:94:1:
X_PASSWORD_NOWARN = 0x20 // pwd.h:100:1:
X_PASSWORD_OLDFMT = 0x10 // pwd.h:99:1:
X_PASSWORD_WARNDAYS = 14 // pwd.h:102:1:
X_PATH_MASTERPASSWD = "/etc/master.passwd" // pwd.h:73:1:
X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp" // pwd.h:74:1:
X_PATH_MP_DB = "/etc/pwd.db" // pwd.h:80:1:
X_PATH_PASSWD = "/etc/passwd" // pwd.h:72:1:
X_PATH_PASSWD_CONF = "/etc/passwd.conf" // pwd.h:76:1:
X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb" // pwd.h:83:1:
X_PATH_SMP_DB = "/etc/spwd.db" // pwd.h:81:1:
X_PATH_USERMGMT_CONF = "/etc/usermgmt.conf" // pwd.h:78:1:
X_PDP_ENDIAN = 3412 // endian.h:45:1:
X_PT_BARRIERATTR_DEAD = 0xDEAD0808 // pthread_types.h:278:1:
X_PT_BARRIERATTR_MAGIC = 0x88880808 // pthread_types.h:277:1:
X_PT_BARRIER_DEAD = 0xDEAD0008 // pthread_types.h:270:1:
X_PT_BARRIER_MAGIC = 0x88880008 // pthread_types.h:269:1:
X_PT_CONDATTR_DEAD = 0xDEAD0006 // pthread_types.h:197:1:
X_PT_CONDATTR_MAGIC = 0x66660006 // pthread_types.h:196:1:
X_PT_COND_DEAD = 0xDEAD0005 // pthread_types.h:182:1:
X_PT_COND_MAGIC = 0x55550005 // pthread_types.h:181:1:
X_PT_MUTEXATTR_DEAD = 0xDEAD0004 // pthread_types.h:167:1:
X_PT_MUTEXATTR_MAGIC = 0x44440004 // pthread_types.h:166:1:
X_PT_MUTEX_DEAD = 0xDEAD0003 // pthread_types.h:139:1:
X_PT_MUTEX_MAGIC = 0x33330003 // pthread_types.h:138:1:
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909 // pthread_types.h:253:1:
X_PT_RWLOCKATTR_MAGIC = 0x99990909 // pthread_types.h:252:1:
X_PT_RWLOCK_DEAD = 0xDEAD0009 // pthread_types.h:236:1:
X_PT_RWLOCK_MAGIC = 0x99990009 // pthread_types.h:235:1:
X_PT_SPINLOCK_DEAD = 0xDEAD0007 // pthread_types.h:213:1:
X_PT_SPINLOCK_MAGIC = 0x77770007 // pthread_types.h:212:1:
X_PT_SPINLOCK_PSHARED = 0x00000001 // pthread_types.h:214:1:
X_PWD_H_ = 0 // pwd.h:65:1:
X_PW_KEYBYNAME = 49 // pwd.h:85:1:
X_PW_KEYBYNUM = 50 // pwd.h:86:1:
X_PW_KEYBYUID = 51 // pwd.h:87:1:
X_QUAD_HIGHWORD = 1 // endian.h:84:1:
X_QUAD_LOWWORD = 0 // endian.h:85:1:
X_SIZE_T = 0 // types.h:279:1:
X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
X_SYS_BSWAP_H_ = 0 // bswap.h:6:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
X_SYS_COMMON_INT_LIMITS_H_ = 0 // common_int_limits.h:33:1:
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0 // common_int_mwgwtypes.h:33:1:
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
X_SYS_ENDIAN_H_ = 0 // endian.h:35:1:
X_SYS_FD_SET_H_ = 0 // fd_set.h:35:1:
X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
X_SYS_TYPES_H_ = 0 // types.h:40:1:
X_X86_64_BSWAP_H_ = 0 // bswap.h:6:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
X_X86_64_TYPES_H_ = 0 // types.h:35:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -241,15 +239,6 @@ type X__float128 = float64 /* <builtin>:47:21 */
// _LARGEFILE_SOURCE Large File Support
// <http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
// DO NOT EDIT THIS FILE.
//
// It has been auto-edited by fixincludes from:
//
// "/usr/include/sys/types.h"
//
// This had to be done to correct non-standard usages in the
// original, manufacturer supplied header file.
// $NetBSD: types.h,v 1.102 2018/11/06 16:26:44 maya Exp $
// -
@ -777,32 +766,32 @@ type X__wctype_t = uintptr /* ansi.h:54:31 */
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
F__mbstateL X__int64_t
_ [120]byte
F__mbstateL X__int64_t
F__ccgo_pad1 [120]byte
} /* ansi.h:63:3 */
type X__va_list = X__builtin_va_list /* ansi.h:72:27 */
type Int8_t = X__int8_t /* types.h:63:18 */
type Int8_t = X__int8_t /* types.h:54:18 */
type Uint8_t = X__uint8_t /* types.h:68:19 */
type Uint8_t = X__uint8_t /* types.h:59:19 */
type Int16_t = X__int16_t /* types.h:73:19 */
type Int16_t = X__int16_t /* types.h:64:19 */
type Uint16_t = X__uint16_t /* types.h:78:20 */
type Uint16_t = X__uint16_t /* types.h:69:20 */
type Int32_t = X__int32_t /* types.h:83:19 */
type Int32_t = X__int32_t /* types.h:74:19 */
type Uint32_t = X__uint32_t /* types.h:88:20 */
type Uint32_t = X__uint32_t /* types.h:79:20 */
type Int64_t = X__int64_t /* types.h:93:19 */
type Int64_t = X__int64_t /* types.h:84:19 */
type Uint64_t = X__uint64_t /* types.h:98:20 */
type Uint64_t = X__uint64_t /* types.h:89:20 */
type U_int8_t = Uint8_t /* types.h:102:18 */
type U_int16_t = Uint16_t /* types.h:103:18 */
type U_int32_t = Uint32_t /* types.h:104:18 */
type U_int64_t = Uint64_t /* types.h:105:18 */
type U_int8_t = Uint8_t /* types.h:93:18 */
type U_int16_t = Uint16_t /* types.h:94:18 */
type U_int32_t = Uint32_t /* types.h:95:18 */
type U_int64_t = Uint64_t /* types.h:96:18 */
// $NetBSD: endian.h,v 1.1 2003/04/26 18:39:40 fvdl Exp $
@ -965,15 +954,6 @@ type U_int64_t = Uint64_t /* types.h:105:18 */
//
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
// DO NOT EDIT THIS FILE.
//
// It has been auto-edited by fixincludes from:
//
// "/usr/include/sys/types.h"
//
// This had to be done to correct non-standard usages in the
// original, manufacturer supplied header file.
// $NetBSD: types.h,v 1.102 2018/11/06 16:26:44 maya Exp $
// -
@ -1207,19 +1187,19 @@ type Uint_fast64_t = uint64 /* common_int_mwgwtypes.h:62:32 */
type Intmax_t = int64 /* common_int_mwgwtypes.h:66:33 */
type Uintmax_t = uint64 /* common_int_mwgwtypes.h:67:32 */
type U_char = uint8 /* types.h:110:23 */
type U_short = uint16 /* types.h:111:24 */
type U_int = uint32 /* types.h:112:22 */
type U_long = uint64 /* types.h:113:23 */
type U_char = uint8 /* types.h:101:23 */
type U_short = uint16 /* types.h:102:24 */
type U_int = uint32 /* types.h:103:22 */
type U_long = uint64 /* types.h:104:23 */
type Unchar = uint8 /* types.h:115:23 */ // Sys V compatibility
type Ushort = uint16 /* types.h:116:24 */ // Sys V compatibility
type Uint = uint32 /* types.h:117:22 */ // Sys V compatibility
type Ulong = uint64 /* types.h:118:23 */ // Sys V compatibility
type Unchar = uint8 /* types.h:106:23 */ // Sys V compatibility
type Ushort = uint16 /* types.h:107:24 */ // Sys V compatibility
type Uint = uint32 /* types.h:108:22 */ // Sys V compatibility
type Ulong = uint64 /* types.h:109:23 */ // Sys V compatibility
type U_quad_t = Uint64_t /* types.h:121:18 */ // quads
type Quad_t = Int64_t /* types.h:122:18 */
type Qaddr_t = uintptr /* types.h:123:16 */
type U_quad_t = Uint64_t /* types.h:112:18 */ // quads
type Quad_t = Int64_t /* types.h:113:18 */
type Qaddr_t = uintptr /* types.h:114:16 */
// The types longlong_t and u_longlong_t exist for use with the
// Sun-derived XDR routines involving these types, and their usage
@ -1229,69 +1209,69 @@ type Qaddr_t = uintptr /* types.h:123:16 */
// respectively. Portable programs that need 64-bit types should use
// the C99 types int64_t and uint64_t instead.
type Longlong_t = Int64_t /* types.h:135:18 */ // for XDR
type U_longlong_t = Uint64_t /* types.h:136:18 */ // for XDR
type Longlong_t = Int64_t /* types.h:126:18 */ // for XDR
type U_longlong_t = Uint64_t /* types.h:127:18 */ // for XDR
type Blkcnt_t = Int64_t /* types.h:138:18 */ // fs block count
type Blksize_t = Int32_t /* types.h:139:18 */ // fs optimal block size
type Blkcnt_t = Int64_t /* types.h:129:18 */ // fs block count
type Blksize_t = Int32_t /* types.h:130:18 */ // fs optimal block size
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:142:22 */ // fs block count (statvfs)
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:133:22 */ // fs block count (statvfs)
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:147:22 */ // fs file count
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:138:22 */ // fs file count
// We don't and shouldn't use caddr_t in the kernel anymore
type Caddr_t = X__caddr_t /* types.h:154:19 */ // core address
type Caddr_t = X__caddr_t /* types.h:145:19 */ // core address
type Daddr_t = Int64_t /* types.h:163:18 */ // disk address
type Daddr_t = Int64_t /* types.h:154:18 */ // disk address
type Dev_t = Uint64_t /* types.h:166:18 */ // device number
type Fixpt_t = Uint32_t /* types.h:167:18 */ // fixed point number
type Dev_t = Uint64_t /* types.h:157:18 */ // device number
type Fixpt_t = Uint32_t /* types.h:158:18 */ // fixed point number
type Gid_t = X__gid_t /* types.h:170:18 */ // group id
type Gid_t = X__gid_t /* types.h:161:18 */ // group id
type Id_t = Uint32_t /* types.h:174:18 */ // group id, process id or user id
type Ino_t = Uint64_t /* types.h:175:18 */ // inode number
type Key_t = int64 /* types.h:176:15 */ // IPC key (for Sys V IPC)
type Id_t = Uint32_t /* types.h:165:18 */ // group id, process id or user id
type Ino_t = Uint64_t /* types.h:166:18 */ // inode number
type Key_t = int64 /* types.h:167:15 */ // IPC key (for Sys V IPC)
type Mode_t = X__mode_t /* types.h:179:18 */ // permissions
type Mode_t = X__mode_t /* types.h:170:18 */ // permissions
type Nlink_t = Uint32_t /* types.h:183:18 */ // link count
type Nlink_t = Uint32_t /* types.h:174:18 */ // link count
type Off_t = X__off_t /* types.h:186:18 */ // file offset
type Off_t = X__off_t /* types.h:177:18 */ // file offset
type Pid_t = X__pid_t /* types.h:191:18 */ // process id
type Lwpid_t = Int32_t /* types.h:194:18 */ // LWP id
type Rlim_t = Uint64_t /* types.h:195:18 */ // resource limit
type Segsz_t = Int32_t /* types.h:196:18 */ // segment size
type Swblk_t = Int32_t /* types.h:197:18 */ // swap offset
type Pid_t = X__pid_t /* types.h:182:18 */ // process id
type Lwpid_t = Int32_t /* types.h:185:18 */ // LWP id
type Rlim_t = Uint64_t /* types.h:186:18 */ // resource limit
type Segsz_t = Int32_t /* types.h:187:18 */ // segment size
type Swblk_t = Int32_t /* types.h:188:18 */ // swap offset
type Uid_t = X__uid_t /* types.h:200:18 */ // user id
type Uid_t = X__uid_t /* types.h:191:18 */ // user id
type Mqd_t = int32 /* types.h:204:14 */
type Mqd_t = int32 /* types.h:195:14 */
type Cpuid_t = uint64 /* types.h:206:23 */
type Cpuid_t = uint64 /* types.h:197:23 */
type Psetid_t = int32 /* types.h:208:14 */
type Psetid_t = int32 /* types.h:199:14 */
type X__cpu_simple_lock_t = X__cpu_simple_lock_nv_t /* types.h:210:41 */
type X__cpu_simple_lock_t = X__cpu_simple_lock_nv_t /* types.h:201:41 */
// Major, minor numbers, dev_t's.
type X__devmajor_t = Int32_t /* types.h:264:17 */
type X__devminor_t = Int32_t /* types.h:264:31 */
type X__devmajor_t = Int32_t /* types.h:255:17 */
type X__devminor_t = Int32_t /* types.h:255:31 */
type Clock_t = uint32 /* types.h:277:24 */
type Clock_t = uint32 /* types.h:268:24 */
type Ssize_t = int64 /* types.h:301:24 */
type Ssize_t = int64 /* types.h:284:24 */
type Time_t = X__int64_t /* types.h:306:23 */
type Time_t = X__int64_t /* types.h:289:23 */
type Clockid_t = int32 /* types.h:311:26 */
type Clockid_t = int32 /* types.h:294:26 */
type Timer_t = int32 /* types.h:316:24 */
type Timer_t = int32 /* types.h:299:24 */
type Suseconds_t = int32 /* types.h:321:27 */
type Suseconds_t = int32 /* types.h:304:27 */
type Useconds_t = uint32 /* types.h:326:26 */
type Useconds_t = uint32 /* types.h:309:26 */
// $NetBSD: fd_set.h,v 1.7 2018/06/24 12:05:40 kamil Exp $
@ -1471,9 +1451,9 @@ type Fd_set = Fd_set1 /* fd_set.h:68:3 */
// Expose our internals if we are not required to hide them.
type Kauth_cred_t = uintptr /* types.h:335:27 */
type Kauth_cred_t = uintptr /* types.h:318:27 */
type Pri_t = int32 /* types.h:337:13 */
type Pri_t = int32 /* types.h:320:13 */
// $NetBSD: pthread_types.h,v 1.23 2017/09/09 23:21:45 kamil Exp $
@ -1534,24 +1514,24 @@ type X__pthread_mutex_st = struct {
Fptm_pad1 [3]Uint8_t
F__8 struct{ Fptm_ceiling uint8 }
Fptm_pad2 [3]Uint8_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fptm_owner Pthread_t
Fptm_waiters uintptr
Fptm_recursed uint32
_ [4]byte
F__ccgo_pad2 [4]byte
Fptm_spare2 uintptr
} /* pthread_types.h:66:1 */
type X__pthread_mutexattr_st = struct {
Fptma_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptma_private uintptr
} /* pthread_types.h:67:1 */
type X__pthread_cond_st = struct {
Fptc_magic uint32
Fptc_lock X__pthread_spin_t
_ [3]byte
F__ccgo_pad1 [3]byte
Fptc_waiters Pthread_queue_t
Fptc_mutex uintptr
Fptc_private uintptr
@ -1559,43 +1539,43 @@ type X__pthread_cond_st = struct {
type X__pthread_condattr_st = struct {
Fptca_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptca_private uintptr
} /* pthread_types.h:69:1 */
type X__pthread_rwlock_st = struct {
Fptr_magic uint32
Fptr_interlock X__pthread_spin_t
_ [3]byte
F__ccgo_pad1 [3]byte
Fptr_rblocked Pthread_queue_t
Fptr_wblocked Pthread_queue_t
Fptr_nreaders uint32
_ [4]byte
F__ccgo_pad2 [4]byte
Fptr_owner Pthread_t
Fptr_private uintptr
} /* pthread_types.h:71:1 */
type X__pthread_rwlockattr_st = struct {
Fptra_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptra_private uintptr
} /* pthread_types.h:72:1 */
type X__pthread_barrier_st = struct {
Fptb_magic uint32
Fptb_lock Pthread_spin_t
_ [3]byte
F__ccgo_pad1 [3]byte
Fptb_waiters Pthread_queue_t
Fptb_initcount uint32
Fptb_curcount uint32
Fptb_generation uint32
_ [4]byte
F__ccgo_pad2 [4]byte
Fptb_private uintptr
} /* pthread_types.h:73:1 */
type X__pthread_barrierattr_st = struct {
Fptba_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptba_private uintptr
} /* pthread_types.h:74:1 */
@ -1606,17 +1586,17 @@ type Pthread_mutexattr_t = X__pthread_mutexattr_st /* pthread_types.h:79:39 */
type Pthread_cond_t = X__pthread_cond_st /* pthread_types.h:80:34 */
type Pthread_condattr_t = X__pthread_condattr_st /* pthread_types.h:81:38 */
type X__pthread_once_st = struct {
Fpto_mutex Pthread_mutex_t
Fpto_done int32
_ [4]byte
Fpto_mutex Pthread_mutex_t
Fpto_done int32
F__ccgo_pad1 [4]byte
} /* pthread_types.h:82:9 */
type Pthread_once_t = X__pthread_once_st /* pthread_types.h:82:34 */
type X__pthread_spinlock_st = struct {
Fpts_magic uint32
Fpts_spin X__pthread_spin_t
_ [3]byte
Fpts_flags int32
Fpts_magic uint32
Fpts_spin X__pthread_spin_t
F__ccgo_pad1 [3]byte
Fpts_flags int32
} /* pthread_types.h:83:9 */
type Pthread_spinlock_t = X__pthread_spinlock_st /* pthread_types.h:83:38 */