Module param

Module param 

Source
Available on crate feature param only.
Expand description

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.

Functions§

clock_ticks_per_secondNeither target_os=horizon nor target_os=vita nor WASI
sysconf(_SC_CLK_TCK)—Returns the process’ clock ticks per second.
linux_execfnAndroid and 64-bit, or Linux, or linux_raw
getauxval(AT_EXECFN)—Returns the Linux “execfn” string.
linux_hwcapAndroid and 64-bit, or Linux, or linux_raw
(getauxval(AT_HWCAP), getauxval(AT_HWCAP2)—Returns the Linux “hwcap” data.
linux_minsigstkszAndroid and 64-bit, or Linux, or linux_raw
getauxval(AT_MINSIGSTKSZ)—Returns the Linux “minsigstksz” data.
page_size
sysconf(_SC_PAGESIZE)—Returns the process’ page size.