1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! Process parameters.
//!
//! These values correspond to `sysconf` in POSIX, and the auxv array in Linux.
//! Despite the POSIX name “sysconf”, these aren't *system* configuration
//! parameters; they're *process* configuration parameters, as they may differ
//! between different processes on the same system.

#[cfg(feature = "param")]
mod auxv;
#[cfg(target_vendor = "mustang")]
mod init;

#[cfg(feature = "param")]
#[cfg(not(target_os = "wasi"))]
pub use auxv::clock_ticks_per_second;
#[cfg(feature = "param")]
pub use auxv::page_size;
#[cfg(feature = "param")]
#[cfg(any(
    linux_raw,
    all(
        libc,
        any(
            all(target_os = "android", target_pointer_width = "64"),
            target_os = "linux",
        )
    )
))]
pub use auxv::{linux_execfn, linux_hwcap};
#[cfg(target_vendor = "mustang")]
pub use init::init;