devela 0.27.0

A development layer of coherence.
Documentation
// devela::lang::prog::ffi::c
//
#![doc = crate::_DOC_LANG_PROG_FFI_C!()] // public
#![doc = crate::_doc!(modules: crate::lang::prog::ffi; c)]
#![doc = crate::_doc!(flat:"lang")]
#![doc = crate::_doc!(hr)]
//!
//! Provides C-compatible types, constants, and symbols used when calling
//! C or POSIX APIs. These definitions mirror the C standard and POSIX
//! specifications, forming the low-level interface for FFI with libc and
//! other C-based libraries.
//

mod _reexport_core;
#[cfg(feature = "alloc")]
mod _reexport_alloc;

mod libc; // c_mode_t, c_off_t

crate::structural_mods! { // _mods, _reexports
    _mods {
        pub use super::{
            libc::*,
        };
    }
    _reexports {
        pub use super::_reexport_core::*;
        #[cfg(feature = "alloc")]
        pub use super::_reexport_alloc::*;

        #[cfg(feature = "unsafe_ffi")]
        pub use crate::Libc;
    }
}