Module rustix::param

source ·
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§

  • sysconf(_SC_CLK_TCK)—Returns the process’ clock ticks per second.
  • getauxval(AT_EXECFN)—Returns the Linux “execfn” string.
  • (getauxval(AT_HWCAP), getauxval(AT_HWCAP2)—Returns the Linux “hwcap” data.
  • getauxval(AT_MINSIGSTKSZ)—Returns the Linux “minsigstksz” data.
  • sysconf(_SC_PAGESIZE)—Returns the process’ page size.