Sha256: 8295b8bb0dfd38d2cdb4d9192cdeeb534cc6c3b208170e64615fa3e0edb3e578

Contents?: true

Size: 377 Bytes

Versions: 36

Compression:

Stored size: 377 Bytes

Contents

// DragonFlyBSD's __error function is declared with "static inline", so it must
// be implemented in the libc crate, as a pointer to a static thread_local.
f! {
    #[deprecated(since = "0.2.77", note = "Use `__errno_location()` instead")]
    pub fn __error() -> *mut ::c_int {
        &mut errno
    }
}

extern "C" {
    #[thread_local]
    pub static mut errno: ::c_int;
}

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
wasmtime-27.0.0 ./ext/cargo-vendor/libc-0.2.164/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-26.0.0 ./ext/cargo-vendor/libc-0.2.161/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-25.0.2 ./ext/cargo-vendor/libc-0.2.158/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-25.0.1 ./ext/cargo-vendor/libc-0.2.158/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-25.0.0 ./ext/cargo-vendor/libc-0.2.158/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-24.0.0 ./ext/cargo-vendor/libc-0.2.158/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-23.0.2 ./ext/cargo-vendor/libc-0.2.154/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-22.0.0 ./ext/cargo-vendor/libc-0.2.154/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-21.0.1 ./ext/cargo-vendor/libc-0.2.154/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-20.0.2 ./ext/cargo-vendor/libc-0.2.154/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-20.0.0 ./ext/cargo-vendor/libc-0.2.154/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-18.0.3 ./ext/cargo-vendor/libc-0.2.152/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-17.0.1 ./ext/cargo-vendor/libc-0.2.152/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-17.0.0 ./ext/cargo-vendor/libc-0.2.152/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-16.0.0 ./ext/cargo-vendor/libc-0.2.152/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-15.0.1 ./ext/cargo-vendor/libc-0.2.152/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-15.0.0 ./ext/cargo-vendor/libc-0.2.152/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-14.0.4 ./ext/cargo-vendor/libc-0.2.149/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-14.0.3 ./ext/cargo-vendor/libc-0.2.149/src/unix/bsd/freebsdlike/dragonfly/errno.rs
wasmtime-14.0.1 ./ext/cargo-vendor/libc-0.2.149/src/unix/bsd/freebsdlike/dragonfly/errno.rs