//! The Linux-specific half of the unix backend.
//!
//! Two items, because two items is all Linux and Darwin disagree about once the
//! constant tables (`abi.rs`) and the struct layouts (`layout.rs`) are factored
//! out: which `struct termios` to pass, and how to reach `errno`.
//!
//! Authority: glibc `<bits/termios.h>` / musl `arch/x86_64/bits/termios.h` for
//! the layout, and `__errno_location()` — the thread-local errno accessor both
//! glibc and musl export — for the second. (`errno` itself is a macro in C and
//! has no symbol to link against.)
use crateHOST_ABI;
use crate;
/// The `struct termios` this target's libc expects.
pub type RawTermios = LinuxTermios;
// A Darwin table paired with a Linux struct would put VMIN at c_cc[16] of a
// 32-slot array: legal memory, wrong slot, and the pager would block forever.
const _: = assert!;
const _: = assert!;
const _: = assert!;
extern "C"
/// The current thread's `errno`.