[INFO] cloning repository https://github.com/kolgotko/libmount [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kolgotko/libmount" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolgotko%2Flibmount", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolgotko%2Flibmount'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ad78eaa9206763bbde00de76e71a92e3b8144cb [INFO] checking kolgotko/libmount against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolgotko%2Flibmount" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kolgotko/libmount [INFO] finished tweaking git repo https://github.com/kolgotko/libmount [INFO] tweaked toml for git repo https://github.com/kolgotko/libmount written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kolgotko/libmount on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kolgotko/libmount already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 071c3559a617603f5a5ec70f1ff97b06a6162dc6371a706a20e9625a9446ffa4 [INFO] running `Command { std: "docker" "start" "-a" "071c3559a617603f5a5ec70f1ff97b06a6162dc6371a706a20e9625a9446ffa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "071c3559a617603f5a5ec70f1ff97b06a6162dc6371a706a20e9625a9446ffa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "071c3559a617603f5a5ec70f1ff97b06a6162dc6371a706a20e9625a9446ffa4", kill_on_drop: false }` [INFO] [stdout] 071c3559a617603f5a5ec70f1ff97b06a6162dc6371a706a20e9625a9446ffa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5254577ff6b6081bf09e5f2de252ab58b8e2f2bfb977b82e7d908ad5cf7a90b8 [INFO] running `Command { std: "docker" "start" "-a" "5254577ff6b6081bf09e5f2de252ab58b8e2f2bfb977b82e7d908ad5cf7a90b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling clang-sys v0.26.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bindgen v0.43.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling cexpr v0.3.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling libmount v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmount-9114b6274fae524b/out/libc_mount.rs:3:49807 [INFO] [stdout] | [INFO] [stdout] 3 | ...( mnt_id_req ) , "::" , stringify ! ( param ) ) ) ; } pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_RDONLY : enum_(unna... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 3 | # [ repr ( C ) ] # [ derive ( Default ) ] pub struct __IncompleteArrayField < T > ( :: std :: marker :: PhantomData < T > ) ; impl < T > __IncompleteArrayField < T > { # [ inline ] pub fn new ( ) -> Self { __IncompleteArrayField ( :: std :: marker :: PhantomData ) } # [ inline ] pub unsafe fn as_ptr ( & self ) -> * const T { :: std :: mem :: transmute ( self ) } # [ inline ] pub unsafe fn as_mut_ptr ( & mut self ) -> * mut T { :: std :: mem :: transmute ( self ) } # [ inline ] pub unsafe fn as_slice ( & self , len : usize ) -> & [ T ] { :: std :: slice :: from_raw_parts ( self . as_ptr ( ) , len ) } # [ inline ] pub unsafe fn as_mut_slice ( & mut self , len : usize ) -> & mut [ T ] { :: std :: slice :: from_raw_parts_mut ( self . as_mut_ptr ( ) , len ) } } impl < T > :: std :: fmt :: Debug for __IncompleteArrayField < T > { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . write_str ( "__IncompleteArrayField" ) } } impl < T > :: std :: clone :: Clone for __IncompleteArrayField < T > { # [ inline ] fn clone ( & self ) -> Self { Self :: new ( ) } } impl < T > :: std :: marker :: Copy for __IncompleteArrayField < T > { } pub const _SYS_MOUNT_H : u32 = 1 ; pub const _FCNTL_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C2X_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 39 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const __O_LARGEFILE : u32 = 0 ; pub const F_GETLK64 : u32 = 5 ; pub const F_SETLK64 : u32 = 6 ; pub const F_SETLKW64 : u32 = 7 ; pub const O_ACCMODE : u32 = 3 ; pub const O_RDONLY : u32 = 0 ; pub const O_WRONLY : u32 = 1 ; pub const O_RDWR : u32 = 2 ; pub const O_CREAT : u32 = 64 ; pub const O_EXCL : u32 = 128 ; pub const O_NOCTTY : u32 = 256 ; pub const O_TRUNC : u32 = 512 ; pub const O_APPEND : u32 = 1024 ; pub const O_NONBLOCK : u32 = 2048 ; pub const O_NDELAY : u32 = 2048 ; pub const O_SYNC : u32 = 1052672 ; pub const O_FSYNC : u32 = 1052672 ; pub const O_ASYNC : u32 = 8192 ; pub const __O_DIRECTORY : u32 = 65536 ; pub const __O_NOFOLLOW : u32 = 131072 ; pub const __O_CLOEXEC : u32 = 524288 ; pub const __O_DIRECT : u32 = 16384 ; pub const __O_NOATIME : u32 = 262144 ; pub const __O_PATH : u32 = 2097152 ; pub const __O_DSYNC : u32 = 4096 ; pub const __O_TMPFILE : u32 = 4259840 ; pub const F_GETLK : u32 = 5 ; pub const F_SETLK : u32 = 6 ; pub const F_SETLKW : u32 = 7 ; pub const O_DIRECTORY : u32 = 65536 ; pub const O_NOFOLLOW : u32 = 131072 ; pub const O_CLOEXEC : u32 = 524288 ; pub const O_DSYNC : u32 = 4096 ; pub const O_RSYNC : u32 = 1052672 ; pub const F_DUPFD : u32 = 0 ; pub const F_GETFD : u32 = 1 ; pub const F_SETFD : u32 = 2 ; pub const F_GETFL : u32 = 3 ; pub const F_SETFL : u32 = 4 ; pub const __F_SETOWN : u32 = 8 ; pub const __F_GETOWN : u32 = 9 ; pub const F_SETOWN : u32 = 8 ; pub const F_GETOWN : u32 = 9 ; pub const __F_SETSIG : u32 = 10 ; pub const __F_GETSIG : u32 = 11 ; pub const __F_SETOWN_EX : u32 = 15 ; pub const __F_GETOWN_EX : u32 = 16 ; pub const F_DUPFD_CLOEXEC : u32 = 1030 ; pub const FD_CLOEXEC : u32 = 1 ; pub const F_RDLCK : u32 = 0 ; pub const F_WRLCK : u32 = 1 ; pub const F_UNLCK : u32 = 2 ; pub const F_EXLCK : u32 = 4 ; pub const F_SHLCK : u32 = 8 ; pub const LOCK_SH : u32 = 1 ; pub const LOCK_EX : u32 = 2 ; pub const LOCK_NB : u32 = 4 ; pub const LOCK_UN : u32 = 8 ; pub const FAPPEND : u32 = 1024 ; pub const FFSYNC : u32 = 1052672 ; pub const FASYNC : u32 = 8192 ; pub const FNONBLOCK : u32 = 2048 ; pub const FNDELAY : u32 = 2048 ; pub const __POSIX_FADV_DONTNEED : u32 = 4 ; pub const __POSIX_FADV_NOREUSE : u32 = 5 ; pub const POSIX_FADV_NORMAL : u32 = 0 ; pub const POSIX_FADV_RANDOM : u32 = 1 ; pub const POSIX_FADV_SEQUENTIAL : u32 = 2 ; pub const POSIX_FADV_WILLNEED : u32 = 3 ; pub const POSIX_FADV_DONTNEED : u32 = 4 ; pub const POSIX_FADV_NOREUSE : u32 = 5 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const __time_t_defined : u32 = 1 ; pub const _BITS_STAT_H : u32 = 1 ; pub const _BITS_STRUCT_STAT_H : u32 = 1 ; pub const __S_IFMT : u32 = 61440 ; pub const __S_IFDIR : u32 = 16384 ; pub const __S_IFCHR : u32 = 8192 ; pub const __S_IFBLK : u32 = 24576 ; pub const __S_IFREG : u32 = 32768 ; pub const __S_IFIFO : u32 = 4096 ; pub const __S_IFLNK : u32 = 40960 ; pub const __S_IFSOCK : u32 = 49152 ; pub const __S_ISUID : u32 = 2048 ; pub const __S_ISGID : u32 = 1024 ; pub const __S_ISVTX : u32 = 512 ; pub const __S_IREAD : u32 = 256 ; pub const __S_IWRITE : u32 = 128 ; pub const __S_IEXEC : u32 = 64 ; pub const UTIME_NOW : u32 = 1073741823 ; pub const UTIME_OMIT : u32 = 1073741822 ; pub const S_IFMT : u32 = 61440 ; pub const S_IFDIR : u32 = 16384 ; pub const S_IFCHR : u32 = 8192 ; pub const S_IFBLK : u32 = 24576 ; pub const S_IFREG : u32 = 32768 ; pub const S_IFIFO : u32 = 4096 ; pub const S_IFLNK : u32 = 40960 ; pub const S_IFSOCK : u32 = 49152 ; pub const S_ISUID : u32 = 2048 ; pub const S_ISGID : u32 = 1024 ; pub const S_ISVTX : u32 = 512 ; pub const S_IRUSR : u32 = 256 ; pub const S_IWUSR : u32 = 128 ; pub const S_IXUSR : u32 = 64 ; pub const S_IRWXU : u32 = 448 ; pub const S_IRGRP : u32 = 32 ; pub const S_IWGRP : u32 = 16 ; pub const S_IXGRP : u32 = 8 ; pub const S_IRWXG : u32 = 56 ; pub const S_IROTH : u32 = 4 ; pub const S_IWOTH : u32 = 2 ; pub const S_IXOTH : u32 = 1 ; pub const S_IRWXO : u32 = 7 ; pub const R_OK : u32 = 4 ; pub const W_OK : u32 = 2 ; pub const X_OK : u32 = 1 ; pub const F_OK : u32 = 0 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const AT_FDCWD : i32 = -100 ; pub const AT_SYMLINK_NOFOLLOW : u32 = 256 ; pub const AT_REMOVEDIR : u32 = 512 ; pub const AT_SYMLINK_FOLLOW : u32 = 1024 ; pub const AT_EACCESS : u32 = 512 ; pub const F_ULOCK : u32 = 0 ; pub const F_LOCK : u32 = 1 ; pub const F_TLOCK : u32 = 2 ; pub const F_TEST : u32 = 3 ; pub const _STDINT_H : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const _BITS_STDINT_LEAST_H : u32 = 1 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i64 = -9223372036854775808 ; pub const INT_FAST32_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = -1 ; pub const UINT_FAST32_MAX : i32 = -1 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = -1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const _SYS_IOCTL_H : u32 = 1 ; pub const _IOC_NRBITS : u32 = 8 ; pub const _IOC_TYPEBITS : u32 = 8 ; pub const _IOC_SIZEBITS : u32 = 14 ; pub const _IOC_DIRBITS : u32 = 2 ; pub const _IOC_NRMASK : u32 = 255 ; pub const _IOC_TYPEMASK : u32 = 255 ; pub const _IOC_SIZEMASK : u32 = 16383 ; pub const _IOC_DIRMASK : u32 = 3 ; pub const _IOC_NRSHIFT : u32 = 0 ; pub const _IOC_TYPESHIFT : u32 = 8 ; pub const _IOC_SIZESHIFT : u32 = 16 ; pub const _IOC_DIRSHIFT : u32 = 30 ; pub const _IOC_NONE : u32 = 0 ; pub const _IOC_WRITE : u32 = 1 ; pub const _IOC_READ : u32 = 2 ; pub const IOC_IN : u32 = 1073741824 ; pub const IOC_OUT : u32 = 2147483648 ; pub const IOC_INOUT : u32 = 3221225472 ; pub const IOCSIZE_MASK : u32 = 1073676288 ; pub const IOCSIZE_SHIFT : u32 = 16 ; pub const TCGETS : u32 = 21505 ; pub const TCSETS : u32 = 21506 ; pub const TCSETSW : u32 = 21507 ; pub const TCSETSF : u32 = 21508 ; pub const TCGETA : u32 = 21509 ; pub const TCSETA : u32 = 21510 ; pub const TCSETAW : u32 = 21511 ; pub const TCSETAF : u32 = 21512 ; pub const TCSBRK : u32 = 21513 ; pub const TCXONC : u32 = 21514 ; pub const TCFLSH : u32 = 21515 ; pub const TIOCEXCL : u32 = 21516 ; pub const TIOCNXCL : u32 = 21517 ; pub const TIOCSCTTY : u32 = 21518 ; pub const TIOCGPGRP : u32 = 21519 ; pub const TIOCSPGRP : u32 = 21520 ; pub const TIOCOUTQ : u32 = 21521 ; pub const TIOCSTI : u32 = 21522 ; pub const TIOCGWINSZ : u32 = 21523 ; pub const TIOCSWINSZ : u32 = 21524 ; pub const TIOCMGET : u32 = 21525 ; pub const TIOCMBIS : u32 = 21526 ; pub const TIOCMBIC : u32 = 21527 ; pub const TIOCMSET : u32 = 21528 ; pub const TIOCGSOFTCAR : u32 = 21529 ; pub const TIOCSSOFTCAR : u32 = 21530 ; pub const FIONREAD : u32 = 21531 ; pub const TIOCINQ : u32 = 21531 ; pub const TIOCLINUX : u32 = 21532 ; pub const TIOCCONS : u32 = 21533 ; pub const TIOCGSERIAL : u32 = 21534 ; pub const TIOCSSERIAL : u32 = 21535 ; pub const TIOCPKT : u32 = 21536 ; pub const FIONBIO : u32 = 21537 ; pub const TIOCNOTTY : u32 = 21538 ; pub const TIOCSETD : u32 = 21539 ; pub const TIOCGETD : u32 = 21540 ; pub const TCSBRKP : u32 = 21541 ; pub const TIOCSBRK : u32 = 21543 ; pub const TIOCCBRK : u32 = 21544 ; pub const TIOCGSID : u32 = 21545 ; pub const TIOCGRS485 : u32 = 21550 ; pub const TIOCSRS485 : u32 = 21551 ; pub const TCGETX : u32 = 21554 ; pub const TCSETX : u32 = 21555 ; pub const TCSETXF : u32 = 21556 ; pub const TCSETXW : u32 = 21557 ; pub const TIOCVHANGUP : u32 = 21559 ; pub const FIONCLEX : u32 = 21584 ; pub const FIOCLEX : u32 = 21585 ; pub const FIOASYNC : u32 = 21586 ; pub const TIOCSERCONFIG : u32 = 21587 ; pub const TIOCSERGWILD : u32 = 21588 ; pub const TIOCSERSWILD : u32 = 21589 ; pub const TIOCGLCKTRMIOS : u32 = 21590 ; pub const TIOCSLCKTRMIOS : u32 = 21591 ; pub const TIOCSERGSTRUCT : u32 = 21592 ; pub const TIOCSERGETLSR : u32 = 21593 ; pub const TIOCSERGETMULTI : u32 = 21594 ; pub const TIOCSERSETMULTI : u32 = 21595 ; pub const TIOCMIWAIT : u32 = 21596 ; pub const TIOCGICOUNT : u32 = 21597 ; pub const FIOQSIZE : u32 = 21600 ; pub const TIOCPKT_DATA : u32 = 0 ; pub const TIOCPKT_FLUSHREAD : u32 = 1 ; pub const TIOCPKT_FLUSHWRITE : u32 = 2 ; pub const TIOCPKT_STOP : u32 = 4 ; pub const TIOCPKT_START : u32 = 8 ; pub const TIOCPKT_NOSTOP : u32 = 16 ; pub const TIOCPKT_DOSTOP : u32 = 32 ; pub const TIOCPKT_IOCTL : u32 = 64 ; pub const TIOCSER_TEMT : u32 = 1 ; pub const SIOCADDRT : u32 = 35083 ; pub const SIOCDELRT : u32 = 35084 ; pub const SIOCRTMSG : u32 = 35085 ; pub const SIOCGIFNAME : u32 = 35088 ; pub const SIOCSIFLINK : u32 = 35089 ; pub const SIOCGIFCONF : u32 = 35090 ; pub const SIOCGIFFLAGS : u32 = 35091 ; pub const SIOCSIFFLAGS : u32 = 35092 ; pub const SIOCGIFADDR : u32 = 35093 ; pub const SIOCSIFADDR : u32 = 35094 ; pub const SIOCGIFDSTADDR : u32 = 35095 ; pub const SIOCSIFDSTADDR : u32 = 35096 ; pub const SIOCGIFBRDADDR : u32 = 35097 ; pub const SIOCSIFBRDADDR : u32 = 35098 ; pub const SIOCGIFNETMASK : u32 = 35099 ; pub const SIOCSIFNETMASK : u32 = 35100 ; pub const SIOCGIFMETRIC : u32 = 35101 ; pub const SIOCSIFMETRIC : u32 = 35102 ; pub const SIOCGIFMEM : u32 = 35103 ; pub const SIOCSIFMEM : u32 = 35104 ; pub const SIOCGIFMTU : u32 = 35105 ; pub const SIOCSIFMTU : u32 = 35106 ; pub const SIOCSIFNAME : u32 = 35107 ; pub const SIOCSIFHWADDR : u32 = 35108 ; pub const SIOCGIFENCAP : u32 = 35109 ; pub const SIOCSIFENCAP : u32 = 35110 ; pub const SIOCGIFHWADDR : u32 = 35111 ; pub const SIOCGIFSLAVE : u32 = 35113 ; pub const SIOCSIFSLAVE : u32 = 35120 ; pub const SIOCADDMULTI : u32 = 35121 ; pub const SIOCDELMULTI : u32 = 35122 ; pub const SIOCGIFINDEX : u32 = 35123 ; pub const SIOGIFINDEX : u32 = 35123 ; pub const SIOCSIFPFLAGS : u32 = 35124 ; pub const SIOCGIFPFLAGS : u32 = 35125 ; pub const SIOCDIFADDR : u32 = 35126 ; pub const SIOCSIFHWBROADCAST : u32 = 35127 ; pub const SIOCGIFCOUNT : u32 = 35128 ; pub const SIOCGIFBR : u32 = 35136 ; pub const SIOCSIFBR : u32 = 35137 ; pub const SIOCGIFTXQLEN : u32 = 35138 ; pub const SIOCSIFTXQLEN : u32 = 35139 ; pub const SIOCDARP : u32 = 35155 ; pub const SIOCGARP : u32 = 35156 ; pub const SIOCSARP : u32 = 35157 ; pub const SIOCDRARP : u32 = 35168 ; pub const SIOCGRARP : u32 = 35169 ; pub const SIOCSRARP : u32 = 35170 ; pub const SIOCGIFMAP : u32 = 35184 ; pub const SIOCSIFMAP : u32 = 35185 ; pub const SIOCADDDLCI : u32 = 35200 ; pub const SIOCDELDLCI : u32 = 35201 ; pub const SIOCDEVPRIVATE : u32 = 35312 ; pub const SIOCPROTOPRIVATE : u32 = 35296 ; pub const NCC : u32 = 8 ; pub const TIOCM_LE : u32 = 1 ; pub const TIOCM_DTR : u32 = 2 ; pub const TIOCM_RTS : u32 = 4 ; pub const TIOCM_ST : u32 = 8 ; pub const TIOCM_SR : u32 = 16 ; pub const TIOCM_CTS : u32 = 32 ; pub const TIOCM_CAR : u32 = 64 ; pub const TIOCM_RNG : u32 = 128 ; pub const TIOCM_DSR : u32 = 256 ; pub const TIOCM_CD : u32 = 64 ; pub const TIOCM_RI : u32 = 128 ; pub const N_TTY : u32 = 0 ; pub const N_SLIP : u32 = 1 ; pub const N_MOUSE : u32 = 2 ; pub const N_PPP : u32 = 3 ; pub const N_STRIP : u32 = 4 ; pub const N_AX25 : u32 = 5 ; pub const N_X25 : u32 = 6 ; pub const N_6PACK : u32 = 7 ; pub const N_MASC : u32 = 8 ; pub const N_R3964 : u32 = 9 ; pub const N_PROFIBUS_FDL : u32 = 10 ; pub const N_IRDA : u32 = 11 ; pub const N_SMSBLOCK : u32 = 12 ; pub const N_HDLC : u32 = 13 ; pub const N_SYNC_PPP : u32 = 14 ; pub const N_HCI : u32 = 15 ; pub const CEOL : u8 = 0u8 ; pub const CERASE : u32 = 127 ; pub const CSTATUS : u8 = 0u8 ; pub const CMIN : u32 = 1 ; pub const CQUIT : u32 = 28 ; pub const CTIME : u32 = 0 ; pub const CBRK : u8 = 0u8 ; pub const __BITS_PER_LONG : u32 = 64 ; pub const MS_RDONLY : u32 = 1 ; pub const MS_NOSUID : u32 = 2 ; pub const MS_NODEV : u32 = 4 ; pub const MS_NOEXEC : u32 = 8 ; pub const MS_SYNCHRONOUS : u32 = 16 ; pub const MS_REMOUNT : u32 = 32 ; pub const MS_MANDLOCK : u32 = 64 ; pub const MS_DIRSYNC : u32 = 128 ; pub const MS_NOSYMFOLLOW : u32 = 256 ; pub const MS_NOATIME : u32 = 1024 ; pub const MS_NODIRATIME : u32 = 2048 ; pub const MS_BIND : u32 = 4096 ; pub const MS_MOVE : u32 = 8192 ; pub const MS_REC : u32 = 16384 ; pub const MS_VERBOSE : u32 = 32768 ; pub const MS_SILENT : u32 = 32768 ; pub const MS_POSIXACL : u32 = 65536 ; pub const MS_UNBINDABLE : u32 = 131072 ; pub const MS_PRIVATE : u32 = 262144 ; pub const MS_SLAVE : u32 = 524288 ; pub const MS_SHARED : u32 = 1048576 ; pub const MS_RELATIME : u32 = 2097152 ; pub const MS_KERNMOUNT : u32 = 4194304 ; pub const MS_I_VERSION : u32 = 8388608 ; pub const MS_STRICTATIME : u32 = 16777216 ; pub const MS_LAZYTIME : u32 = 33554432 ; pub const MS_SUBMOUNT : u32 = 67108864 ; pub const MS_NOREMOTELOCK : u32 = 134217728 ; pub const MS_NOSEC : u32 = 268435456 ; pub const MS_BORN : u32 = 536870912 ; pub const MS_ACTIVE : u32 = 1073741824 ; pub const MS_NOUSER : u32 = 2147483648 ; pub const MS_RMT_MASK : u32 = 41943121 ; pub const MS_MGC_VAL : u32 = 3236757504 ; pub const MS_MGC_MSK : u32 = 4294901760 ; pub const OPEN_TREE_CLONE : u32 = 1 ; pub const OPEN_TREE_CLOEXEC : u32 = 524288 ; pub const MOVE_MOUNT_F_SYMLINKS : u32 = 1 ; pub const MOVE_MOUNT_F_AUTOMOUNTS : u32 = 2 ; pub const MOVE_MOUNT_F_EMPTY_PATH : u32 = 4 ; pub const MOVE_MOUNT_T_SYMLINKS : u32 = 16 ; pub const MOVE_MOUNT_T_AUTOMOUNTS : u32 = 32 ; pub const MOVE_MOUNT_T_EMPTY_PATH : u32 = 64 ; pub const MOVE_MOUNT_SET_GROUP : u32 = 256 ; pub const MOVE_MOUNT_BENEATH : u32 = 512 ; pub const MOVE_MOUNT__MASK : u32 = 887 ; pub const FSOPEN_CLOEXEC : u32 = 1 ; pub const FSPICK_CLOEXEC : u32 = 1 ; pub const FSPICK_SYMLINK_NOFOLLOW : u32 = 2 ; pub const FSPICK_NO_AUTOMOUNT : u32 = 4 ; pub const FSPICK_EMPTY_PATH : u32 = 8 ; pub const FSMOUNT_CLOEXEC : u32 = 1 ; pub const MOUNT_ATTR_RDONLY : u32 = 1 ; pub const MOUNT_ATTR_NOSUID : u32 = 2 ; pub const MOUNT_ATTR_NODEV : u32 = 4 ; pub const MOUNT_ATTR_NOEXEC : u32 = 8 ; pub const MOUNT_ATTR__ATIME : u32 = 112 ; pub const MOUNT_ATTR_RELATIME : u32 = 0 ; pub const MOUNT_ATTR_NOATIME : u32 = 16 ; pub const MOUNT_ATTR_STRICTATIME : u32 = 32 ; pub const MOUNT_ATTR_NODIRATIME : u32 = 128 ; pub const MOUNT_ATTR_IDMAP : u32 = 1048576 ; pub const MOUNT_ATTR_NOSYMFOLLOW : u32 = 2097152 ; pub const MOUNT_ATTR_SIZE_VER0 : u32 = 32 ; pub const MNT_ID_REQ_SIZE_VER0 : u32 = 24 ; pub const STATMOUNT_SB_BASIC : u32 = 1 ; pub const STATMOUNT_MNT_BASIC : u32 = 2 ; pub const STATMOUNT_PROPAGATE_FROM : u32 = 4 ; pub const STATMOUNT_MNT_ROOT : u32 = 8 ; pub const STATMOUNT_MNT_POINT : u32 = 16 ; pub const STATMOUNT_FS_TYPE : u32 = 32 ; pub const LSMT_ROOT : i32 = -1 ; pub const BLOCK_SIZE_BITS : u32 = 10 ; pub const BLOCK_SIZE : u32 = 1024 ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct flock { pub l_type : :: std :: os :: raw :: c_short , pub l_whence : :: std :: os :: raw :: c_short , pub l_start : __off_t , pub l_len : __off_t , pub l_pid : __pid_t , } # [ test ] fn bindgen_test_layout_flock ( ) { assert_eq ! ( :: std :: mem :: size_of :: < flock > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( flock ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < flock > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( flock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_whence as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_whence ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_start as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_len as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_pid as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_pid ) ) ) ; } pub type mode_t = __mode_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type time_t = __time_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [ test ] fn bindgen_test_layout_timespec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timespec > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timespec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timespec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timespec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_nsec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_nsec ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stat { pub st_dev : __dev_t , pub st_ino : __ino_t , pub st_nlink : __nlink_t , pub st_mode : __mode_t , pub st_uid : __uid_t , pub st_gid : __gid_t , pub __pad0 : :: std :: os :: raw :: c_int , pub st_rdev : __dev_t , pub st_size : __off_t , pub st_blksize : __blksize_t , pub st_blocks : __blkcnt_t , pub st_atim : timespec , pub st_mtim : timespec , pub st_ctim : timespec , pub __glibc_reserved : [ __syscall_slong_t ; 3usize ] , } # [ test ] fn bindgen_test_layout_stat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stat > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( stat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_dev as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_dev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ino as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ino ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_nlink as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_nlink ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mode as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_uid as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_gid as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __pad0 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_rdev as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_rdev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_size as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blksize as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blksize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blocks as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blocks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_atim as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_atim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mtim as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mtim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ctim as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ctim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __glibc_reserved as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __glibc_reserved ) ) ) ; } extern "C" { pub fn fcntl ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn open ( __file : * const :: std :: os :: raw :: c_char , __oflag : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn openat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __oflag : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn creat ( __file : * const :: std :: os :: raw :: c_char , __mode : mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lockf ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_int , __len : off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn posix_fadvise ( __fd : :: std :: os :: raw :: c_int , __offset : off_t , __len : off_t , __advise : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn posix_fallocate ( __fd : :: std :: os :: raw :: c_int , __offset : off_t , __len : off_t ) -> :: std :: os :: raw :: c_int ; } pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type wchar_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : f64 , } # [ test ] fn bindgen_test_layout_max_align_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct winsize { pub ws_row : :: std :: os :: raw :: c_ushort , pub ws_col : :: std :: os :: raw :: c_ushort , pub ws_xpixel : :: std :: os :: raw :: c_ushort , pub ws_ypixel : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_winsize ( ) { assert_eq ! ( :: std :: mem :: size_of :: < winsize > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( winsize ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < winsize > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( winsize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < winsize > ( ) ) ) . ws_row as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( winsize ) , "::" , stringify ! ( ws_row ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < winsize > ( ) ) ) . ws_col as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( winsize ) , "::" , stringify ! ( ws_col ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < winsize > ( ) ) ) . ws_xpixel as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( winsize ) , "::" , stringify ! ( ws_xpixel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < winsize > ( ) ) ) . ws_ypixel as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( winsize ) , "::" , stringify ! ( ws_ypixel ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct termio { pub c_iflag : :: std :: os :: raw :: c_ushort , pub c_oflag : :: std :: os :: raw :: c_ushort , pub c_cflag : :: std :: os :: raw :: c_ushort , pub c_lflag : :: std :: os :: raw :: c_ushort , pub c_line : :: std :: os :: raw :: c_uchar , pub c_cc : [ :: std :: os :: raw :: c_uchar ; 8usize ] , } # [ test ] fn bindgen_test_layout_termio ( ) { assert_eq ! ( :: std :: mem :: size_of :: < termio > ( ) , 18usize , concat ! ( "Size of: " , stringify ! ( termio ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < termio > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( termio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_iflag as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_iflag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_oflag as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_oflag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_cflag as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_cflag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_lflag as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_lflag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_line as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_cc as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_cc ) ) ) ; } extern "C" { pub fn ioctl ( __fd : :: std :: os :: raw :: c_int , __request : :: std :: os :: raw :: c_ulong , ... ) -> :: std :: os :: raw :: c_int ; } pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_old_time_t = __kernel_long_t ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_time64_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __s128 = [ u64 ; 2 ] ; pub type __u128 = [ u64 ; 2 ] ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; pub type __poll_t = :: std :: os :: raw :: c_uint ; pub const fsconfig_command_FSCONFIG_SET_FLAG : fsconfig_command = 0 ; pub const fsconfig_command_FSCONFIG_SET_STRING : fsconfig_command = 1 ; pub const fsconfig_command_FSCONFIG_SET_BINARY : fsconfig_command = 2 ; pub const fsconfig_command_FSCONFIG_SET_PATH : fsconfig_command = 3 ; pub const fsconfig_command_FSCONFIG_SET_PATH_EMPTY : fsconfig_command = 4 ; pub const fsconfig_command_FSCONFIG_SET_FD : fsconfig_command = 5 ; pub const fsconfig_command_FSCONFIG_CMD_CREATE : fsconfig_command = 6 ; pub const fsconfig_command_FSCONFIG_CMD_RECONFIGURE : fsconfig_command = 7 ; pub const fsconfig_command_FSCONFIG_CMD_CREATE_EXCL : fsconfig_command = 8 ; pub type fsconfig_command = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct mount_attr { pub attr_set : __u64 , pub attr_clr : __u64 , pub propagation : __u64 , pub userns_fd : __u64 , } # [ test ] fn bindgen_test_layout_mount_attr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < mount_attr > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( mount_attr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < mount_attr > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( mount_attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mount_attr > ( ) ) ) . attr_set as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( mount_attr ) , "::" , stringify ! ( attr_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mount_attr > ( ) ) ) . attr_clr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( mount_attr ) , "::" , stringify ! ( attr_clr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mount_attr > ( ) ) ) . propagation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( mount_attr ) , "::" , stringify ! ( propagation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mount_attr > ( ) ) ) . userns_fd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( mount_attr ) , "::" , stringify ! ( userns_fd ) ) ) ; } # [ repr ( C ) ] pub struct statmount { pub size : __u32 , pub __spare1 : __u32 , pub mask : __u64 , pub sb_dev_major : __u32 , pub sb_dev_minor : __u32 , pub sb_magic : __u64 , pub sb_flags : __u32 , pub fs_type : __u32 , pub mnt_id : __u64 , pub mnt_parent_id : __u64 , pub mnt_id_old : __u32 , pub mnt_parent_id_old : __u32 , pub mnt_attr : __u64 , pub mnt_propagation : __u64 , pub mnt_peer_group : __u64 , pub mnt_master : __u64 , pub propagate_from : __u64 , pub mnt_root : __u32 , pub mnt_point : __u32 , pub __spare2 : [ __u64 ; 50usize ] , pub str : __IncompleteArrayField < :: std :: os :: raw :: c_char > , } # [ test ] fn bindgen_test_layout_statmount ( ) { assert_eq ! ( :: std :: mem :: size_of :: < statmount > ( ) , 512usize , concat ! ( "Size of: " , stringify ! ( statmount ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < statmount > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( statmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . __spare1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( __spare1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mask as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . sb_dev_major as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( sb_dev_major ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . sb_dev_minor as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( sb_dev_minor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . sb_magic as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( sb_magic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . sb_flags as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( sb_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . fs_type as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( fs_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_id as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_parent_id as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_parent_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_id_old as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_id_old ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_parent_id_old as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_parent_id_old ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_attr as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_propagation as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_propagation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_peer_group as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_peer_group ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_master as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_master ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . propagate_from as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( propagate_from ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_root as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_root ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_point as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . __spare2 as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( __spare2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . str as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( str ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct mnt_id_req { pub size : __u32 , pub spare : __u32 , pub mnt_id : __u64 , pub param : __u64 , } # [ test ] fn bindgen_test_layout_mnt_id_req ( ) { assert_eq ! ( :: std :: mem :: size_of :: < mnt_id_req > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( mnt_id_req ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < mnt_id_req > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( mnt_id_req ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mnt_id_req > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( mnt_id_req ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mnt_id_req > ( ) ) ) . spare as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( mnt_id_req ) , "::" , stringify ! ( spare ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mnt_id_req > ( ) ) ) . mnt_id as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( mnt_id_req ) , "::" , stringify ! ( mnt_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mnt_id_req > ( ) ) ) . param as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( mnt_id_req ) , "::" , stringify ! ( param ) ) ) ; } pub const enum_!(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_RDONLY : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 1 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOSUID : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 2 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NODEV : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 4 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOEXEC : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 8 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_SYNCHRONOUS : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 16 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_REMOUNT : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 32 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_MANDLOCK : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 64 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_DIRSYNC : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 128 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOSYMFOLLOW : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 256 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOATIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 1024 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NODIRATIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 2048 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_BIND : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 4096 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_MOVE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 8192 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_REC : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 16384 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_SILENT : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 32768 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_POSIXACL : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 65536 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_UNBINDABLE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 131072 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_PRIVATE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 262144 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_SLAVE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 524288 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_SHARED : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 1048576 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_RELATIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 2097152 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_KERNMOUNT : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 4194304 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_I_VERSION : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 8388608 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_STRICTATIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 16777216 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_LAZYTIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 33554432 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_ACTIVE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 1073741824 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOUSER : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = -2147483648 ; pub type enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = i32 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_178_1)_MNT_FORCE : enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = 1 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_178_1)_MNT_DETACH : enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = 2 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_178_1)_MNT_EXPIRE : enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = 4 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_178_1)_UMOUNT_NOFOLLOW : enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = 8 ; pub type enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = u32 ; extern "C" { pub fn mount ( __special_file : * const :: std :: os :: raw :: c_char , __dir : * const :: std :: os :: raw :: c_char , __fstype : * const :: std :: os :: raw :: c_char , __rwflag : :: std :: os :: raw :: c_ulong , __data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn umount ( __special_file : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn umount2 ( __special_file : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsopen ( __fs_name : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsmount ( __fd : :: std :: os :: raw :: c_int , __flags : :: std :: os :: raw :: c_uint , __ms_flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn move_mount ( __from_dfd : :: std :: os :: raw :: c_int , __from_pathname : * const :: std :: os :: raw :: c_char , __to_dfd : :: std :: os :: raw :: c_int , __to_pathname : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsconfig ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_uint , __key : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_void , __aux : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fspick ( __dfd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn open_tree ( __dfd : :: std :: os :: raw :: c_int , __filename : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mount_setattr ( __dfd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_uint , __uattr : * mut mount_attr , __usize : usize ) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmount-9114b6274fae524b/out/libc_mount.rs:3:49807 [INFO] [stdout] | [INFO] [stdout] 3 | ...( mnt_id_req ) , "::" , stringify ! ( param ) ) ) ; } pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_RDONLY : enum_(unna... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 3 | # [ repr ( C ) ] # [ derive ( Default ) ] pub struct __IncompleteArrayField < T > ( :: std :: marker :: PhantomData < T > ) ; impl < T > __IncompleteArrayField < T > { # [ inline ] pub fn new ( ) -> Self { __IncompleteArrayField ( :: std :: marker :: PhantomData ) } # [ inline ] pub unsafe fn as_ptr ( & self ) -> * const T { :: std :: mem :: transmute ( self ) } # [ inline ] pub unsafe fn as_mut_ptr ( & mut self ) -> * mut T { :: std :: mem :: transmute ( self ) } # [ inline ] pub unsafe fn as_slice ( & self , len : usize ) -> & [ T ] { :: std :: slice :: from_raw_parts ( self . as_ptr ( ) , len ) } # [ inline ] pub unsafe fn as_mut_slice ( & mut self , len : usize ) -> & mut [ T ] { :: std :: slice :: from_raw_parts_mut ( self . as_mut_ptr ( ) , len ) } } impl < T > :: std :: fmt :: Debug for __IncompleteArrayField < T > { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . write_str ( "__IncompleteArrayField" ) } } impl < T > :: std :: clone :: Clone for __IncompleteArrayField < T > { # [ inline ] fn clone ( & self ) -> Self { Self :: new ( ) } } impl < T > :: std :: marker :: Copy for __IncompleteArrayField < T > { } pub const _SYS_MOUNT_H : u32 = 1 ; pub const _FCNTL_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C2X_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 39 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const __O_LARGEFILE : u32 = 0 ; pub const F_GETLK64 : u32 = 5 ; pub const F_SETLK64 : u32 = 6 ; pub const F_SETLKW64 : u32 = 7 ; pub const O_ACCMODE : u32 = 3 ; pub const O_RDONLY : u32 = 0 ; pub const O_WRONLY : u32 = 1 ; pub const O_RDWR : u32 = 2 ; pub const O_CREAT : u32 = 64 ; pub const O_EXCL : u32 = 128 ; pub const O_NOCTTY : u32 = 256 ; pub const O_TRUNC : u32 = 512 ; pub const O_APPEND : u32 = 1024 ; pub const O_NONBLOCK : u32 = 2048 ; pub const O_NDELAY : u32 = 2048 ; pub const O_SYNC : u32 = 1052672 ; pub const O_FSYNC : u32 = 1052672 ; pub const O_ASYNC : u32 = 8192 ; pub const __O_DIRECTORY : u32 = 65536 ; pub const __O_NOFOLLOW : u32 = 131072 ; pub const __O_CLOEXEC : u32 = 524288 ; pub const __O_DIRECT : u32 = 16384 ; pub const __O_NOATIME : u32 = 262144 ; pub const __O_PATH : u32 = 2097152 ; pub const __O_DSYNC : u32 = 4096 ; pub const __O_TMPFILE : u32 = 4259840 ; pub const F_GETLK : u32 = 5 ; pub const F_SETLK : u32 = 6 ; pub const F_SETLKW : u32 = 7 ; pub const O_DIRECTORY : u32 = 65536 ; pub const O_NOFOLLOW : u32 = 131072 ; pub const O_CLOEXEC : u32 = 524288 ; pub const O_DSYNC : u32 = 4096 ; pub const O_RSYNC : u32 = 1052672 ; pub const F_DUPFD : u32 = 0 ; pub const F_GETFD : u32 = 1 ; pub const F_SETFD : u32 = 2 ; pub const F_GETFL : u32 = 3 ; pub const F_SETFL : u32 = 4 ; pub const __F_SETOWN : u32 = 8 ; pub const __F_GETOWN : u32 = 9 ; pub const F_SETOWN : u32 = 8 ; pub const F_GETOWN : u32 = 9 ; pub const __F_SETSIG : u32 = 10 ; pub const __F_GETSIG : u32 = 11 ; pub const __F_SETOWN_EX : u32 = 15 ; pub const __F_GETOWN_EX : u32 = 16 ; pub const F_DUPFD_CLOEXEC : u32 = 1030 ; pub const FD_CLOEXEC : u32 = 1 ; pub const F_RDLCK : u32 = 0 ; pub const F_WRLCK : u32 = 1 ; pub const F_UNLCK : u32 = 2 ; pub const F_EXLCK : u32 = 4 ; pub const F_SHLCK : u32 = 8 ; pub const LOCK_SH : u32 = 1 ; pub const LOCK_EX : u32 = 2 ; pub const LOCK_NB : u32 = 4 ; pub const LOCK_UN : u32 = 8 ; pub const FAPPEND : u32 = 1024 ; pub const FFSYNC : u32 = 1052672 ; pub const FASYNC : u32 = 8192 ; pub const FNONBLOCK : u32 = 2048 ; pub const FNDELAY : u32 = 2048 ; pub const __POSIX_FADV_DONTNEED : u32 = 4 ; pub const __POSIX_FADV_NOREUSE : u32 = 5 ; pub const POSIX_FADV_NORMAL : u32 = 0 ; pub const POSIX_FADV_RANDOM : u32 = 1 ; pub const POSIX_FADV_SEQUENTIAL : u32 = 2 ; pub const POSIX_FADV_WILLNEED : u32 = 3 ; pub const POSIX_FADV_DONTNEED : u32 = 4 ; pub const POSIX_FADV_NOREUSE : u32 = 5 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const __time_t_defined : u32 = 1 ; pub const _BITS_STAT_H : u32 = 1 ; pub const _BITS_STRUCT_STAT_H : u32 = 1 ; pub const __S_IFMT : u32 = 61440 ; pub const __S_IFDIR : u32 = 16384 ; pub const __S_IFCHR : u32 = 8192 ; pub const __S_IFBLK : u32 = 24576 ; pub const __S_IFREG : u32 = 32768 ; pub const __S_IFIFO : u32 = 4096 ; pub const __S_IFLNK : u32 = 40960 ; pub const __S_IFSOCK : u32 = 49152 ; pub const __S_ISUID : u32 = 2048 ; pub const __S_ISGID : u32 = 1024 ; pub const __S_ISVTX : u32 = 512 ; pub const __S_IREAD : u32 = 256 ; pub const __S_IWRITE : u32 = 128 ; pub const __S_IEXEC : u32 = 64 ; pub const UTIME_NOW : u32 = 1073741823 ; pub const UTIME_OMIT : u32 = 1073741822 ; pub const S_IFMT : u32 = 61440 ; pub const S_IFDIR : u32 = 16384 ; pub const S_IFCHR : u32 = 8192 ; pub const S_IFBLK : u32 = 24576 ; pub const S_IFREG : u32 = 32768 ; pub const S_IFIFO : u32 = 4096 ; pub const S_IFLNK : u32 = 40960 ; pub const S_IFSOCK : u32 = 49152 ; pub const S_ISUID : u32 = 2048 ; pub const S_ISGID : u32 = 1024 ; pub const S_ISVTX : u32 = 512 ; pub const S_IRUSR : u32 = 256 ; pub const S_IWUSR : u32 = 128 ; pub const S_IXUSR : u32 = 64 ; pub const S_IRWXU : u32 = 448 ; pub const S_IRGRP : u32 = 32 ; pub const S_IWGRP : u32 = 16 ; pub const S_IXGRP : u32 = 8 ; pub const S_IRWXG : u32 = 56 ; pub const S_IROTH : u32 = 4 ; pub const S_IWOTH : u32 = 2 ; pub const S_IXOTH : u32 = 1 ; pub const S_IRWXO : u32 = 7 ; pub const R_OK : u32 = 4 ; pub const W_OK : u32 = 2 ; pub const X_OK : u32 = 1 ; pub const F_OK : u32 = 0 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const AT_FDCWD : i32 = -100 ; pub const AT_SYMLINK_NOFOLLOW : u32 = 256 ; pub const AT_REMOVEDIR : u32 = 512 ; pub const AT_SYMLINK_FOLLOW : u32 = 1024 ; pub const AT_EACCESS : u32 = 512 ; pub const F_ULOCK : u32 = 0 ; pub const F_LOCK : u32 = 1 ; pub const F_TLOCK : u32 = 2 ; pub const F_TEST : u32 = 3 ; pub const _STDINT_H : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const _BITS_STDINT_LEAST_H : u32 = 1 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i64 = -9223372036854775808 ; pub const INT_FAST32_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = -1 ; pub const UINT_FAST32_MAX : i32 = -1 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = -1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const _SYS_IOCTL_H : u32 = 1 ; pub const _IOC_NRBITS : u32 = 8 ; pub const _IOC_TYPEBITS : u32 = 8 ; pub const _IOC_SIZEBITS : u32 = 14 ; pub const _IOC_DIRBITS : u32 = 2 ; pub const _IOC_NRMASK : u32 = 255 ; pub const _IOC_TYPEMASK : u32 = 255 ; pub const _IOC_SIZEMASK : u32 = 16383 ; pub const _IOC_DIRMASK : u32 = 3 ; pub const _IOC_NRSHIFT : u32 = 0 ; pub const _IOC_TYPESHIFT : u32 = 8 ; pub const _IOC_SIZESHIFT : u32 = 16 ; pub const _IOC_DIRSHIFT : u32 = 30 ; pub const _IOC_NONE : u32 = 0 ; pub const _IOC_WRITE : u32 = 1 ; pub const _IOC_READ : u32 = 2 ; pub const IOC_IN : u32 = 1073741824 ; pub const IOC_OUT : u32 = 2147483648 ; pub const IOC_INOUT : u32 = 3221225472 ; pub const IOCSIZE_MASK : u32 = 1073676288 ; pub const IOCSIZE_SHIFT : u32 = 16 ; pub const TCGETS : u32 = 21505 ; pub const TCSETS : u32 = 21506 ; pub const TCSETSW : u32 = 21507 ; pub const TCSETSF : u32 = 21508 ; pub const TCGETA : u32 = 21509 ; pub const TCSETA : u32 = 21510 ; pub const TCSETAW : u32 = 21511 ; pub const TCSETAF : u32 = 21512 ; pub const TCSBRK : u32 = 21513 ; pub const TCXONC : u32 = 21514 ; pub const TCFLSH : u32 = 21515 ; pub const TIOCEXCL : u32 = 21516 ; pub const TIOCNXCL : u32 = 21517 ; pub const TIOCSCTTY : u32 = 21518 ; pub const TIOCGPGRP : u32 = 21519 ; pub const TIOCSPGRP : u32 = 21520 ; pub const TIOCOUTQ : u32 = 21521 ; pub const TIOCSTI : u32 = 21522 ; pub const TIOCGWINSZ : u32 = 21523 ; pub const TIOCSWINSZ : u32 = 21524 ; pub const TIOCMGET : u32 = 21525 ; pub const TIOCMBIS : u32 = 21526 ; pub const TIOCMBIC : u32 = 21527 ; pub const TIOCMSET : u32 = 21528 ; pub const TIOCGSOFTCAR : u32 = 21529 ; pub const TIOCSSOFTCAR : u32 = 21530 ; pub const FIONREAD : u32 = 21531 ; pub const TIOCINQ : u32 = 21531 ; pub const TIOCLINUX : u32 = 21532 ; pub const TIOCCONS : u32 = 21533 ; pub const TIOCGSERIAL : u32 = 21534 ; pub const TIOCSSERIAL : u32 = 21535 ; pub const TIOCPKT : u32 = 21536 ; pub const FIONBIO : u32 = 21537 ; pub const TIOCNOTTY : u32 = 21538 ; pub const TIOCSETD : u32 = 21539 ; pub const TIOCGETD : u32 = 21540 ; pub const TCSBRKP : u32 = 21541 ; pub const TIOCSBRK : u32 = 21543 ; pub const TIOCCBRK : u32 = 21544 ; pub const TIOCGSID : u32 = 21545 ; pub const TIOCGRS485 : u32 = 21550 ; pub const TIOCSRS485 : u32 = 21551 ; pub const TCGETX : u32 = 21554 ; pub const TCSETX : u32 = 21555 ; pub const TCSETXF : u32 = 21556 ; pub const TCSETXW : u32 = 21557 ; pub const TIOCVHANGUP : u32 = 21559 ; pub const FIONCLEX : u32 = 21584 ; pub const FIOCLEX : u32 = 21585 ; pub const FIOASYNC : u32 = 21586 ; pub const TIOCSERCONFIG : u32 = 21587 ; pub const TIOCSERGWILD : u32 = 21588 ; pub const TIOCSERSWILD : u32 = 21589 ; pub const TIOCGLCKTRMIOS : u32 = 21590 ; pub const TIOCSLCKTRMIOS : u32 = 21591 ; pub const TIOCSERGSTRUCT : u32 = 21592 ; pub const TIOCSERGETLSR : u32 = 21593 ; pub const TIOCSERGETMULTI : u32 = 21594 ; pub const TIOCSERSETMULTI : u32 = 21595 ; pub const TIOCMIWAIT : u32 = 21596 ; pub const TIOCGICOUNT : u32 = 21597 ; pub const FIOQSIZE : u32 = 21600 ; pub const TIOCPKT_DATA : u32 = 0 ; pub const TIOCPKT_FLUSHREAD : u32 = 1 ; pub const TIOCPKT_FLUSHWRITE : u32 = 2 ; pub const TIOCPKT_STOP : u32 = 4 ; pub const TIOCPKT_START : u32 = 8 ; pub const TIOCPKT_NOSTOP : u32 = 16 ; pub const TIOCPKT_DOSTOP : u32 = 32 ; pub const TIOCPKT_IOCTL : u32 = 64 ; pub const TIOCSER_TEMT : u32 = 1 ; pub const SIOCADDRT : u32 = 35083 ; pub const SIOCDELRT : u32 = 35084 ; pub const SIOCRTMSG : u32 = 35085 ; pub const SIOCGIFNAME : u32 = 35088 ; pub const SIOCSIFLINK : u32 = 35089 ; pub const SIOCGIFCONF : u32 = 35090 ; pub const SIOCGIFFLAGS : u32 = 35091 ; pub const SIOCSIFFLAGS : u32 = 35092 ; pub const SIOCGIFADDR : u32 = 35093 ; pub const SIOCSIFADDR : u32 = 35094 ; pub const SIOCGIFDSTADDR : u32 = 35095 ; pub const SIOCSIFDSTADDR : u32 = 35096 ; pub const SIOCGIFBRDADDR : u32 = 35097 ; pub const SIOCSIFBRDADDR : u32 = 35098 ; pub const SIOCGIFNETMASK : u32 = 35099 ; pub const SIOCSIFNETMASK : u32 = 35100 ; pub const SIOCGIFMETRIC : u32 = 35101 ; pub const SIOCSIFMETRIC : u32 = 35102 ; pub const SIOCGIFMEM : u32 = 35103 ; pub const SIOCSIFMEM : u32 = 35104 ; pub const SIOCGIFMTU : u32 = 35105 ; pub const SIOCSIFMTU : u32 = 35106 ; pub const SIOCSIFNAME : u32 = 35107 ; pub const SIOCSIFHWADDR : u32 = 35108 ; pub const SIOCGIFENCAP : u32 = 35109 ; pub const SIOCSIFENCAP : u32 = 35110 ; pub const SIOCGIFHWADDR : u32 = 35111 ; pub const SIOCGIFSLAVE : u32 = 35113 ; pub const SIOCSIFSLAVE : u32 = 35120 ; pub const SIOCADDMULTI : u32 = 35121 ; pub const SIOCDELMULTI : u32 = 35122 ; pub const SIOCGIFINDEX : u32 = 35123 ; pub const SIOGIFINDEX : u32 = 35123 ; pub const SIOCSIFPFLAGS : u32 = 35124 ; pub const SIOCGIFPFLAGS : u32 = 35125 ; pub const SIOCDIFADDR : u32 = 35126 ; pub const SIOCSIFHWBROADCAST : u32 = 35127 ; pub const SIOCGIFCOUNT : u32 = 35128 ; pub const SIOCGIFBR : u32 = 35136 ; pub const SIOCSIFBR : u32 = 35137 ; pub const SIOCGIFTXQLEN : u32 = 35138 ; pub const SIOCSIFTXQLEN : u32 = 35139 ; pub const SIOCDARP : u32 = 35155 ; pub const SIOCGARP : u32 = 35156 ; pub const SIOCSARP : u32 = 35157 ; pub const SIOCDRARP : u32 = 35168 ; pub const SIOCGRARP : u32 = 35169 ; pub const SIOCSRARP : u32 = 35170 ; pub const SIOCGIFMAP : u32 = 35184 ; pub const SIOCSIFMAP : u32 = 35185 ; pub const SIOCADDDLCI : u32 = 35200 ; pub const SIOCDELDLCI : u32 = 35201 ; pub const SIOCDEVPRIVATE : u32 = 35312 ; pub const SIOCPROTOPRIVATE : u32 = 35296 ; pub const NCC : u32 = 8 ; pub const TIOCM_LE : u32 = 1 ; pub const TIOCM_DTR : u32 = 2 ; pub const TIOCM_RTS : u32 = 4 ; pub const TIOCM_ST : u32 = 8 ; pub const TIOCM_SR : u32 = 16 ; pub const TIOCM_CTS : u32 = 32 ; pub const TIOCM_CAR : u32 = 64 ; pub const TIOCM_RNG : u32 = 128 ; pub const TIOCM_DSR : u32 = 256 ; pub const TIOCM_CD : u32 = 64 ; pub const TIOCM_RI : u32 = 128 ; pub const N_TTY : u32 = 0 ; pub const N_SLIP : u32 = 1 ; pub const N_MOUSE : u32 = 2 ; pub const N_PPP : u32 = 3 ; pub const N_STRIP : u32 = 4 ; pub const N_AX25 : u32 = 5 ; pub const N_X25 : u32 = 6 ; pub const N_6PACK : u32 = 7 ; pub const N_MASC : u32 = 8 ; pub const N_R3964 : u32 = 9 ; pub const N_PROFIBUS_FDL : u32 = 10 ; pub const N_IRDA : u32 = 11 ; pub const N_SMSBLOCK : u32 = 12 ; pub const N_HDLC : u32 = 13 ; pub const N_SYNC_PPP : u32 = 14 ; pub const N_HCI : u32 = 15 ; pub const CEOL : u8 = 0u8 ; pub const CERASE : u32 = 127 ; pub const CSTATUS : u8 = 0u8 ; pub const CMIN : u32 = 1 ; pub const CQUIT : u32 = 28 ; pub const CTIME : u32 = 0 ; pub const CBRK : u8 = 0u8 ; pub const __BITS_PER_LONG : u32 = 64 ; pub const MS_RDONLY : u32 = 1 ; pub const MS_NOSUID : u32 = 2 ; pub const MS_NODEV : u32 = 4 ; pub const MS_NOEXEC : u32 = 8 ; pub const MS_SYNCHRONOUS : u32 = 16 ; pub const MS_REMOUNT : u32 = 32 ; pub const MS_MANDLOCK : u32 = 64 ; pub const MS_DIRSYNC : u32 = 128 ; pub const MS_NOSYMFOLLOW : u32 = 256 ; pub const MS_NOATIME : u32 = 1024 ; pub const MS_NODIRATIME : u32 = 2048 ; pub const MS_BIND : u32 = 4096 ; pub const MS_MOVE : u32 = 8192 ; pub const MS_REC : u32 = 16384 ; pub const MS_VERBOSE : u32 = 32768 ; pub const MS_SILENT : u32 = 32768 ; pub const MS_POSIXACL : u32 = 65536 ; pub const MS_UNBINDABLE : u32 = 131072 ; pub const MS_PRIVATE : u32 = 262144 ; pub const MS_SLAVE : u32 = 524288 ; pub const MS_SHARED : u32 = 1048576 ; pub const MS_RELATIME : u32 = 2097152 ; pub const MS_KERNMOUNT : u32 = 4194304 ; pub const MS_I_VERSION : u32 = 8388608 ; pub const MS_STRICTATIME : u32 = 16777216 ; pub const MS_LAZYTIME : u32 = 33554432 ; pub const MS_SUBMOUNT : u32 = 67108864 ; pub const MS_NOREMOTELOCK : u32 = 134217728 ; pub const MS_NOSEC : u32 = 268435456 ; pub const MS_BORN : u32 = 536870912 ; pub const MS_ACTIVE : u32 = 1073741824 ; pub const MS_NOUSER : u32 = 2147483648 ; pub const MS_RMT_MASK : u32 = 41943121 ; pub const MS_MGC_VAL : u32 = 3236757504 ; pub const MS_MGC_MSK : u32 = 4294901760 ; pub const OPEN_TREE_CLONE : u32 = 1 ; pub const OPEN_TREE_CLOEXEC : u32 = 524288 ; pub const MOVE_MOUNT_F_SYMLINKS : u32 = 1 ; pub const MOVE_MOUNT_F_AUTOMOUNTS : u32 = 2 ; pub const MOVE_MOUNT_F_EMPTY_PATH : u32 = 4 ; pub const MOVE_MOUNT_T_SYMLINKS : u32 = 16 ; pub const MOVE_MOUNT_T_AUTOMOUNTS : u32 = 32 ; pub const MOVE_MOUNT_T_EMPTY_PATH : u32 = 64 ; pub const MOVE_MOUNT_SET_GROUP : u32 = 256 ; pub const MOVE_MOUNT_BENEATH : u32 = 512 ; pub const MOVE_MOUNT__MASK : u32 = 887 ; pub const FSOPEN_CLOEXEC : u32 = 1 ; pub const FSPICK_CLOEXEC : u32 = 1 ; pub const FSPICK_SYMLINK_NOFOLLOW : u32 = 2 ; pub const FSPICK_NO_AUTOMOUNT : u32 = 4 ; pub const FSPICK_EMPTY_PATH : u32 = 8 ; pub const FSMOUNT_CLOEXEC : u32 = 1 ; pub const MOUNT_ATTR_RDONLY : u32 = 1 ; pub const MOUNT_ATTR_NOSUID : u32 = 2 ; pub const MOUNT_ATTR_NODEV : u32 = 4 ; pub const MOUNT_ATTR_NOEXEC : u32 = 8 ; pub const MOUNT_ATTR__ATIME : u32 = 112 ; pub const MOUNT_ATTR_RELATIME : u32 = 0 ; pub const MOUNT_ATTR_NOATIME : u32 = 16 ; pub const MOUNT_ATTR_STRICTATIME : u32 = 32 ; pub const MOUNT_ATTR_NODIRATIME : u32 = 128 ; pub const MOUNT_ATTR_IDMAP : u32 = 1048576 ; pub const MOUNT_ATTR_NOSYMFOLLOW : u32 = 2097152 ; pub const MOUNT_ATTR_SIZE_VER0 : u32 = 32 ; pub const MNT_ID_REQ_SIZE_VER0 : u32 = 24 ; pub const STATMOUNT_SB_BASIC : u32 = 1 ; pub const STATMOUNT_MNT_BASIC : u32 = 2 ; pub const STATMOUNT_PROPAGATE_FROM : u32 = 4 ; pub const STATMOUNT_MNT_ROOT : u32 = 8 ; pub const STATMOUNT_MNT_POINT : u32 = 16 ; pub const STATMOUNT_FS_TYPE : u32 = 32 ; pub const LSMT_ROOT : i32 = -1 ; pub const BLOCK_SIZE_BITS : u32 = 10 ; pub const BLOCK_SIZE : u32 = 1024 ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct flock { pub l_type : :: std :: os :: raw :: c_short , pub l_whence : :: std :: os :: raw :: c_short , pub l_start : __off_t , pub l_len : __off_t , pub l_pid : __pid_t , } # [ test ] fn bindgen_test_layout_flock ( ) { assert_eq ! ( :: std :: mem :: size_of :: < flock > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( flock ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < flock > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( flock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_whence as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_whence ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_start as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_len as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_pid as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_pid ) ) ) ; } pub type mode_t = __mode_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type time_t = __time_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [ test ] fn bindgen_test_layout_timespec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timespec > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timespec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timespec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timespec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_nsec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_nsec ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stat { pub st_dev : __dev_t , pub st_ino : __ino_t , pub st_nlink : __nlink_t , pub st_mode : __mode_t , pub st_uid : __uid_t , pub st_gid : __gid_t , pub __pad0 : :: std :: os :: raw :: c_int , pub st_rdev : __dev_t , pub st_size : __off_t , pub st_blksize : __blksize_t , pub st_blocks : __blkcnt_t , pub st_atim : timespec , pub st_mtim : timespec , pub st_ctim : timespec , pub __glibc_reserved : [ __syscall_slong_t ; 3usize ] , } # [ test ] fn bindgen_test_layout_stat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stat > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( stat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_dev as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_dev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ino as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ino ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_nlink as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_nlink ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mode as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_uid as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_gid as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __pad0 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_rdev as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_rdev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_size as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blksize as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blksize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blocks as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blocks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_atim as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_atim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mtim as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mtim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ctim as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ctim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __glibc_reserved as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __glibc_reserved ) ) ) ; } extern "C" { pub fn fcntl ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn open ( __file : * const :: std :: os :: raw :: c_char , __oflag : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn openat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __oflag : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn creat ( __file : * const :: std :: os :: raw :: c_char , __mode : mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lockf ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_int , __len : off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn posix_fadvise ( __fd : :: std :: os :: raw :: c_int , __offset : off_t , __len : off_t , __advise : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn posix_fallocate ( __fd : :: std :: os :: raw :: c_int , __offset : off_t , __len : off_t ) -> :: std :: os :: raw :: c_int ; } pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type wchar_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : f64 , } # [ test ] fn bindgen_test_layout_max_align_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct winsize { pub ws_row : :: std :: os :: raw :: c_ushort , pub ws_col : :: std :: os :: raw :: c_ushort , pub ws_xpixel : :: std :: os :: raw :: c_ushort , pub ws_ypixel : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_winsize ( ) { assert_eq ! ( :: std :: mem :: size_of :: < winsize > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( winsize ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < winsize > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( winsize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < winsize > ( ) ) ) . ws_row as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( winsize ) , "::" , stringify ! ( ws_row ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < winsize > ( ) ) ) . ws_col as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( winsize ) , "::" , stringify ! ( ws_col ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < winsize > ( ) ) ) . ws_xpixel as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( winsize ) , "::" , stringify ! ( ws_xpixel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < winsize > ( ) ) ) . ws_ypixel as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( winsize ) , "::" , stringify ! ( ws_ypixel ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct termio { pub c_iflag : :: std :: os :: raw :: c_ushort , pub c_oflag : :: std :: os :: raw :: c_ushort , pub c_cflag : :: std :: os :: raw :: c_ushort , pub c_lflag : :: std :: os :: raw :: c_ushort , pub c_line : :: std :: os :: raw :: c_uchar , pub c_cc : [ :: std :: os :: raw :: c_uchar ; 8usize ] , } # [ test ] fn bindgen_test_layout_termio ( ) { assert_eq ! ( :: std :: mem :: size_of :: < termio > ( ) , 18usize , concat ! ( "Size of: " , stringify ! ( termio ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < termio > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( termio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_iflag as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_iflag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_oflag as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_oflag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_cflag as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_cflag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_lflag as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_lflag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_line as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < termio > ( ) ) ) . c_cc as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( termio ) , "::" , stringify ! ( c_cc ) ) ) ; } extern "C" { pub fn ioctl ( __fd : :: std :: os :: raw :: c_int , __request : :: std :: os :: raw :: c_ulong , ... ) -> :: std :: os :: raw :: c_int ; } pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_old_time_t = __kernel_long_t ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_time64_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __s128 = [ u64 ; 2 ] ; pub type __u128 = [ u64 ; 2 ] ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; pub type __poll_t = :: std :: os :: raw :: c_uint ; pub const fsconfig_command_FSCONFIG_SET_FLAG : fsconfig_command = 0 ; pub const fsconfig_command_FSCONFIG_SET_STRING : fsconfig_command = 1 ; pub const fsconfig_command_FSCONFIG_SET_BINARY : fsconfig_command = 2 ; pub const fsconfig_command_FSCONFIG_SET_PATH : fsconfig_command = 3 ; pub const fsconfig_command_FSCONFIG_SET_PATH_EMPTY : fsconfig_command = 4 ; pub const fsconfig_command_FSCONFIG_SET_FD : fsconfig_command = 5 ; pub const fsconfig_command_FSCONFIG_CMD_CREATE : fsconfig_command = 6 ; pub const fsconfig_command_FSCONFIG_CMD_RECONFIGURE : fsconfig_command = 7 ; pub const fsconfig_command_FSCONFIG_CMD_CREATE_EXCL : fsconfig_command = 8 ; pub type fsconfig_command = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct mount_attr { pub attr_set : __u64 , pub attr_clr : __u64 , pub propagation : __u64 , pub userns_fd : __u64 , } # [ test ] fn bindgen_test_layout_mount_attr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < mount_attr > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( mount_attr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < mount_attr > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( mount_attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mount_attr > ( ) ) ) . attr_set as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( mount_attr ) , "::" , stringify ! ( attr_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mount_attr > ( ) ) ) . attr_clr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( mount_attr ) , "::" , stringify ! ( attr_clr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mount_attr > ( ) ) ) . propagation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( mount_attr ) , "::" , stringify ! ( propagation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mount_attr > ( ) ) ) . userns_fd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( mount_attr ) , "::" , stringify ! ( userns_fd ) ) ) ; } # [ repr ( C ) ] pub struct statmount { pub size : __u32 , pub __spare1 : __u32 , pub mask : __u64 , pub sb_dev_major : __u32 , pub sb_dev_minor : __u32 , pub sb_magic : __u64 , pub sb_flags : __u32 , pub fs_type : __u32 , pub mnt_id : __u64 , pub mnt_parent_id : __u64 , pub mnt_id_old : __u32 , pub mnt_parent_id_old : __u32 , pub mnt_attr : __u64 , pub mnt_propagation : __u64 , pub mnt_peer_group : __u64 , pub mnt_master : __u64 , pub propagate_from : __u64 , pub mnt_root : __u32 , pub mnt_point : __u32 , pub __spare2 : [ __u64 ; 50usize ] , pub str : __IncompleteArrayField < :: std :: os :: raw :: c_char > , } # [ test ] fn bindgen_test_layout_statmount ( ) { assert_eq ! ( :: std :: mem :: size_of :: < statmount > ( ) , 512usize , concat ! ( "Size of: " , stringify ! ( statmount ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < statmount > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( statmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . __spare1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( __spare1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mask as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . sb_dev_major as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( sb_dev_major ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . sb_dev_minor as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( sb_dev_minor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . sb_magic as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( sb_magic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . sb_flags as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( sb_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . fs_type as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( fs_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_id as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_parent_id as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_parent_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_id_old as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_id_old ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_parent_id_old as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_parent_id_old ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_attr as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_propagation as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_propagation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_peer_group as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_peer_group ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_master as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_master ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . propagate_from as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( propagate_from ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_root as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_root ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . mnt_point as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( mnt_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . __spare2 as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( __spare2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < statmount > ( ) ) ) . str as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( statmount ) , "::" , stringify ! ( str ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct mnt_id_req { pub size : __u32 , pub spare : __u32 , pub mnt_id : __u64 , pub param : __u64 , } # [ test ] fn bindgen_test_layout_mnt_id_req ( ) { assert_eq ! ( :: std :: mem :: size_of :: < mnt_id_req > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( mnt_id_req ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < mnt_id_req > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( mnt_id_req ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mnt_id_req > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( mnt_id_req ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mnt_id_req > ( ) ) ) . spare as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( mnt_id_req ) , "::" , stringify ! ( spare ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mnt_id_req > ( ) ) ) . mnt_id as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( mnt_id_req ) , "::" , stringify ! ( mnt_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mnt_id_req > ( ) ) ) . param as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( mnt_id_req ) , "::" , stringify ! ( param ) ) ) ; } pub const enum_!(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_RDONLY : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 1 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOSUID : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 2 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NODEV : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 4 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOEXEC : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 8 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_SYNCHRONOUS : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 16 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_REMOUNT : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 32 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_MANDLOCK : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 64 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_DIRSYNC : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 128 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOSYMFOLLOW : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 256 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOATIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 1024 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NODIRATIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 2048 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_BIND : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 4096 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_MOVE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 8192 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_REC : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 16384 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_SILENT : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 32768 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_POSIXACL : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 65536 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_UNBINDABLE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 131072 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_PRIVATE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 262144 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_SLAVE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 524288 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_SHARED : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 1048576 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_RELATIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 2097152 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_KERNMOUNT : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 4194304 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_I_VERSION : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 8388608 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_STRICTATIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 16777216 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_LAZYTIME : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 33554432 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_ACTIVE : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = 1073741824 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_43_1)_MS_NOUSER : enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = -2147483648 ; pub type enum_(unnamed_at_/usr/include/sys/mount_h_43_1) = i32 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_178_1)_MNT_FORCE : enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = 1 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_178_1)_MNT_DETACH : enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = 2 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_178_1)_MNT_EXPIRE : enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = 4 ; pub const enum_(unnamed_at_/usr/include/sys/mount_h_178_1)_UMOUNT_NOFOLLOW : enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = 8 ; pub type enum_(unnamed_at_/usr/include/sys/mount_h_178_1) = u32 ; extern "C" { pub fn mount ( __special_file : * const :: std :: os :: raw :: c_char , __dir : * const :: std :: os :: raw :: c_char , __fstype : * const :: std :: os :: raw :: c_char , __rwflag : :: std :: os :: raw :: c_ulong , __data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn umount ( __special_file : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn umount2 ( __special_file : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsopen ( __fs_name : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsmount ( __fd : :: std :: os :: raw :: c_int , __flags : :: std :: os :: raw :: c_uint , __ms_flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn move_mount ( __from_dfd : :: std :: os :: raw :: c_int , __from_pathname : * const :: std :: os :: raw :: c_char , __to_dfd : :: std :: os :: raw :: c_int , __to_pathname : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsconfig ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_uint , __key : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_void , __aux : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fspick ( __dfd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn open_tree ( __dfd : :: std :: os :: raw :: c_int , __filename : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mount_setattr ( __dfd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_uint , __uattr : * mut mount_attr , __usize : usize ) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nmount` in module `libc_mount` [INFO] [stdout] --> src/lib.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | libc_mount::nmount(iovec_params.as_ptr() as *mut _, iovec_params.len() as u32, flags) [INFO] [stdout] | ^^^^^^ not found in `libc_mount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unmount` in module `libc_mount` [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | libc_mount::unmount(dir.as_ptr(), flags) [INFO] [stdout] | ^^^^^^^ not found in `libc_mount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nmount` in module `libc_mount` [INFO] [stdout] --> src/lib.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | libc_mount::nmount(iovec_params.as_ptr() as *mut _, iovec_params.len() as u32, flags) [INFO] [stdout] | ^^^^^^ not found in `libc_mount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unmount` in module `libc_mount` [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | libc_mount::unmount(dir.as_ptr(), flags) [INFO] [stdout] | ^^^^^^^ not found in `libc_mount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libmount` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libmount` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "5254577ff6b6081bf09e5f2de252ab58b8e2f2bfb977b82e7d908ad5cf7a90b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5254577ff6b6081bf09e5f2de252ab58b8e2f2bfb977b82e7d908ad5cf7a90b8", kill_on_drop: false }` [INFO] [stdout] 5254577ff6b6081bf09e5f2de252ab58b8e2f2bfb977b82e7d908ad5cf7a90b8