Enum nix::unistd::SysconfVar  
#[repr(i32)]
#[non_exhaustive]
pub enum SysconfVar {    
    AIO_LISTIO_MAX,
    AIO_MAX,
    AIO_PRIO_DELTA_MAX,
    ARG_MAX,
    ATEXIT_MAX,
    BC_BASE_MAX,
    BC_DIM_MAX,
    BC_SCALE_MAX,
    BC_STRING_MAX,
    CHILD_MAX,
    CLK_TCK,
    COLL_WEIGHTS_MAX,
    DELAYTIMER_MAX,
    EXPR_NEST_MAX,
    HOST_NAME_MAX,
    IOV_MAX,
    LINE_MAX,
    LOGIN_NAME_MAX,
    NGROUPS_MAX,
    GETGR_R_SIZE_MAX,
    GETPW_R_SIZE_MAX,
    MQ_OPEN_MAX,
    MQ_PRIO_MAX,
    OPEN_MAX,
    _POSIX_ADVISORY_INFO,
    _POSIX_BARRIERS,
    _POSIX_ASYNCHRONOUS_IO,
    _POSIX_CLOCK_SELECTION,
    _POSIX_CPUTIME,
    _POSIX_FSYNC,
    _POSIX_IPV6,
    _POSIX_JOB_CONTROL,
    _POSIX_MAPPED_FILES,
    _POSIX_MEMLOCK,
    _POSIX_MEMLOCK_RANGE,
    _POSIX_MEMORY_PROTECTION,
    _POSIX_MESSAGE_PASSING,
    _POSIX_MONOTONIC_CLOCK,
    _POSIX_PRIORITIZED_IO,
    _POSIX_PRIORITY_SCHEDULING,
    _POSIX_RAW_SOCKETS,
    _POSIX_READER_WRITER_LOCKS,
    _POSIX_REALTIME_SIGNALS,
    _POSIX_REGEXP,
    _POSIX_SAVED_IDS,
    _POSIX_SEMAPHORES,
    _POSIX_SHARED_MEMORY_OBJECTS,
    _POSIX_SHELL,
    _POSIX_SPAWN,
    _POSIX_SPIN_LOCKS,
    _POSIX_SPORADIC_SERVER,
    _POSIX_SS_REPL_MAX,
    _POSIX_SYNCHRONIZED_IO,
    _POSIX_THREAD_ATTR_STACKADDR,
    _POSIX_THREAD_ATTR_STACKSIZE,
    _POSIX_THREAD_CPUTIME,
    _POSIX_THREAD_PRIO_INHERIT,
    _POSIX_THREAD_PRIO_PROTECT,
    _POSIX_THREAD_PRIORITY_SCHEDULING,
    _POSIX_THREAD_PROCESS_SHARED,
    _POSIX_THREAD_ROBUST_PRIO_INHERIT,
    _POSIX_THREAD_ROBUST_PRIO_PROTECT,
    _POSIX_THREAD_SAFE_FUNCTIONS,
    _POSIX_THREAD_SPORADIC_SERVER,
    _POSIX_THREADS,
    _POSIX_TIMEOUTS,
    _POSIX_TIMERS,
    _POSIX_TRACE,
    _POSIX_TRACE_EVENT_FILTER,
    _POSIX_TRACE_EVENT_NAME_MAX,
    _POSIX_TRACE_INHERIT,
    _POSIX_TRACE_LOG,
    _POSIX_TRACE_NAME_MAX,
    _POSIX_TRACE_SYS_MAX,
    _POSIX_TRACE_USER_EVENT_MAX,
    _POSIX_TYPED_MEMORY_OBJECTS,
    _POSIX_VERSION,
    _POSIX_V6_ILP32_OFF32,
    _POSIX_V6_ILP32_OFFBIG,
    _POSIX_V6_LP64_OFF64,
    _POSIX_V6_LPBIG_OFFBIG,
    _POSIX2_C_BIND,
    _POSIX2_C_DEV,
    _POSIX2_CHAR_TERM,
    _POSIX2_FORT_DEV,
    _POSIX2_FORT_RUN,
    _POSIX2_LOCALEDEF,
    _POSIX2_PBS,
    _POSIX2_PBS_ACCOUNTING,
    _POSIX2_PBS_CHECKPOINT,
    _POSIX2_PBS_LOCATE,
    _POSIX2_PBS_MESSAGE,
    _POSIX2_PBS_TRACK,
    _POSIX2_SW_DEV,
    _POSIX2_UPE,
    _POSIX2_VERSION,
    PAGE_SIZE,
    PTHREAD_DESTRUCTOR_ITERATIONS,
    PTHREAD_KEYS_MAX,
    PTHREAD_STACK_MIN,
    PTHREAD_THREADS_MAX,
    RE_DUP_MAX,
    RTSIG_MAX,
    SEM_NSEMS_MAX,
    SEM_VALUE_MAX,
    SIGQUEUE_MAX,
    STREAM_MAX,
    SYMLOOP_MAX,
    TIMER_MAX,
    TTY_NAME_MAX,
    TZNAME_MAX,
    _XOPEN_CRYPT,
    _XOPEN_ENH_I18N,
    _XOPEN_LEGACY,
    _XOPEN_REALTIME,
    _XOPEN_REALTIME_THREADS,
    _XOPEN_SHM,
    _XOPEN_STREAMS,
    _XOPEN_UNIX,
    _XOPEN_VERSION,
}Documentation
Variable names for sysconf
Nix uses the same naming convention for these variables as the
getconf(1) utility.
That is, SysconfVar variables have the same name as the abstract variables
shown in the sysconf(3) man page.  Usually, it’s the same as the C
variable name without the leading _SC_.
All of these symbols are standardized by POSIX 1003.1-2008, but haven’t been implemented by all platforms.
References
Variants
AIO_LISTIO_MAXMaximum number of I/O operations in a single list I/O call supported by the implementation.
AIO_MAXMaximum number of outstanding asynchronous I/O operations supported by the implementation.
AIO_PRIO_DELTA_MAXThe maximum amount by which a process can decrease its asynchronous I/O priority level from its own scheduling priority.
ARG_MAXMaximum length of argument to the exec functions including environment data.
ATEXIT_MAXMaximum number of functions that may be registered with atexit.
BC_BASE_MAXMaximum obase values allowed by the bc utility.
BC_DIM_MAXMaximum number of elements permitted in an array by the bc utility.
BC_SCALE_MAXMaximum scale value allowed by the bc utility.
BC_STRING_MAXMaximum length of a string constant accepted by the bc utility.
CHILD_MAXMaximum number of simultaneous processes per real user ID.
CLK_TCKCOLL_WEIGHTS_MAXMaximum number of weights that can be assigned to an entry of the LC_COLLATE order keyword in the locale definition file
DELAYTIMER_MAXMaximum number of timer expiration overruns.
EXPR_NEST_MAXMaximum number of expressions that can be nested within parentheses by the expr utility.
HOST_NAME_MAXMaximum length of a host name (not including the terminating null) as
returned from the gethostname function
IOV_MAXMaximum number of iovec structures that one process has available for
use with readv or writev.
LINE_MAXUnless otherwise noted, the maximum length, in bytes, of a utility’s
input line (either standard input or another file), when the utility is
described as processing text files. The length includes room for the
trailing 
LOGIN_NAME_MAXMaximum length of a login name.
NGROUPS_MAXMaximum number of simultaneous supplementary group IDs per process.
GETGR_R_SIZE_MAXInitial size of getgrgid_r and getgrnam_r data buffers
GETPW_R_SIZE_MAXInitial size of getpwuid_r and getpwnam_r data buffers
MQ_OPEN_MAXThe maximum number of open message queue descriptors a process may hold.
MQ_PRIO_MAXThe maximum number of message priorities supported by the implementation.
OPEN_MAXA value one greater than the maximum value that the system may assign to a newly-created file descriptor.
_POSIX_ADVISORY_INFOThe implementation supports the Advisory Information option.
_POSIX_BARRIERSThe implementation supports barriers.
_POSIX_ASYNCHRONOUS_IOThe implementation supports asynchronous input and output.
_POSIX_CLOCK_SELECTIONThe implementation supports clock selection.
_POSIX_CPUTIMEThe implementation supports the Process CPU-Time Clocks option.
_POSIX_FSYNCThe implementation supports the File Synchronization option.
_POSIX_IPV6The implementation supports the IPv6 option.
_POSIX_JOB_CONTROLThe implementation supports job control.
_POSIX_MAPPED_FILESThe implementation supports memory mapped Files.
_POSIX_MEMLOCKThe implementation supports the Process Memory Locking option.
_POSIX_MEMLOCK_RANGEThe implementation supports the Range Memory Locking option.
_POSIX_MEMORY_PROTECTIONThe implementation supports memory protection.
_POSIX_MESSAGE_PASSINGThe implementation supports the Message Passing option.
_POSIX_MONOTONIC_CLOCKThe implementation supports the Monotonic Clock option.
_POSIX_PRIORITIZED_IOThe implementation supports the Prioritized Input and Output option.
_POSIX_PRIORITY_SCHEDULINGThe implementation supports the Process Scheduling option.
_POSIX_RAW_SOCKETSThe implementation supports the Raw Sockets option.
_POSIX_READER_WRITER_LOCKSThe implementation supports read-write locks.
_POSIX_REALTIME_SIGNALSThe implementation supports realtime signals.
_POSIX_REGEXPThe implementation supports the Regular Expression Handling option.
_POSIX_SAVED_IDSEach process has a saved set-user-ID and a saved set-group-ID.
_POSIX_SEMAPHORESThe implementation supports semaphores.
_POSIX_SHARED_MEMORY_OBJECTSThe implementation supports the Shared Memory Objects option.
_POSIX_SHELLThe implementation supports the POSIX shell.
_POSIX_SPAWNThe implementation supports the Spawn option.
_POSIX_SPIN_LOCKSThe implementation supports spin locks.
_POSIX_SPORADIC_SERVERThe implementation supports the Process Sporadic Server option.
_POSIX_SS_REPL_MAX_POSIX_SYNCHRONIZED_IOThe implementation supports the Synchronized Input and Output option.
_POSIX_THREAD_ATTR_STACKADDRThe implementation supports the Thread Stack Address Attribute option.
_POSIX_THREAD_ATTR_STACKSIZEThe implementation supports the Thread Stack Size Attribute option.
_POSIX_THREAD_CPUTIMEThe implementation supports the Thread CPU-Time Clocks option.
_POSIX_THREAD_PRIO_INHERITThe implementation supports the Non-Robust Mutex Priority Inheritance option.
_POSIX_THREAD_PRIO_PROTECTThe implementation supports the Non-Robust Mutex Priority Protection option.
_POSIX_THREAD_PRIORITY_SCHEDULINGThe implementation supports the Thread Execution Scheduling option.
_POSIX_THREAD_PROCESS_SHAREDThe implementation supports the Thread Process-Shared Synchronization option.
_POSIX_THREAD_ROBUST_PRIO_INHERITThe implementation supports the Robust Mutex Priority Inheritance option.
_POSIX_THREAD_ROBUST_PRIO_PROTECTThe implementation supports the Robust Mutex Priority Protection option.
_POSIX_THREAD_SAFE_FUNCTIONSThe implementation supports thread-safe functions.
_POSIX_THREAD_SPORADIC_SERVERThe implementation supports the Thread Sporadic Server option.
_POSIX_THREADSThe implementation supports threads.
_POSIX_TIMEOUTSThe implementation supports timeouts.
_POSIX_TIMERSThe implementation supports timers.
_POSIX_TRACEThe implementation supports the Trace option.
_POSIX_TRACE_EVENT_FILTERThe implementation supports the Trace Event Filter option.
_POSIX_TRACE_EVENT_NAME_MAX_POSIX_TRACE_INHERITThe implementation supports the Trace Inherit option.
_POSIX_TRACE_LOGThe implementation supports the Trace Log option.
_POSIX_TRACE_NAME_MAX_POSIX_TRACE_SYS_MAX_POSIX_TRACE_USER_EVENT_MAX_POSIX_TYPED_MEMORY_OBJECTSThe implementation supports the Typed Memory Objects option.
_POSIX_VERSIONInteger value indicating version of this standard (C-language binding) to which the implementation conforms. For implementations conforming to POSIX.1-2008, the value shall be 200809L.
_POSIX_V6_ILP32_OFF32The implementation provides a C-language compilation environment with
32-bit int, long, pointer, and off_t types.
_POSIX_V6_ILP32_OFFBIGThe implementation provides a C-language compilation environment with
32-bit int, long, and pointer types and an off_t type using at
least 64 bits.
_POSIX_V6_LP64_OFF64The implementation provides a C-language compilation environment with
32-bit int and 64-bit long, pointer, and off_t types.
_POSIX_V6_LPBIG_OFFBIGThe implementation provides a C-language compilation environment with an
int type using at least 32 bits and long, pointer, and off_t types
using at least 64 bits.
_POSIX2_C_BINDThe implementation supports the C-Language Binding option.
_POSIX2_C_DEVThe implementation supports the C-Language Development Utilities option.
_POSIX2_CHAR_TERMThe implementation supports the Terminal Characteristics option.
_POSIX2_FORT_DEVThe implementation supports the FORTRAN Development Utilities option.
_POSIX2_FORT_RUNThe implementation supports the FORTRAN Runtime Utilities option.
_POSIX2_LOCALEDEFThe implementation supports the creation of locales by the localedef utility.
_POSIX2_PBSThe implementation supports the Batch Environment Services and Utilities option.
_POSIX2_PBS_ACCOUNTINGThe implementation supports the Batch Accounting option.
_POSIX2_PBS_CHECKPOINTThe implementation supports the Batch Checkpoint/Restart option.
_POSIX2_PBS_LOCATEThe implementation supports the Locate Batch Job Request option.
_POSIX2_PBS_MESSAGEThe implementation supports the Batch Job Message Request option.
_POSIX2_PBS_TRACKThe implementation supports the Track Batch Job Request option.
_POSIX2_SW_DEVThe implementation supports the Software Development Utilities option.
_POSIX2_UPEThe implementation supports the User Portability Utilities option.
_POSIX2_VERSIONInteger value indicating version of the Shell and Utilities volume of POSIX.1 to which the implementation conforms.
PAGE_SIZEThe size of a system page in bytes.
POSIX also defines an alias named PAGESIZE, but Rust does not allow two
enum constants to have the same value, so nix omits PAGESIZE.
PTHREAD_DESTRUCTOR_ITERATIONSPTHREAD_KEYS_MAXPTHREAD_STACK_MINPTHREAD_THREADS_MAXRE_DUP_MAXRTSIG_MAXSEM_NSEMS_MAXSEM_VALUE_MAXSIGQUEUE_MAXSTREAM_MAXSYMLOOP_MAXTIMER_MAXTTY_NAME_MAXTZNAME_MAX_XOPEN_CRYPTThe implementation supports the X/Open Encryption Option Group.
_XOPEN_ENH_I18NThe implementation supports the Issue 4, Version 2 Enhanced Internationalization Option Group.
_XOPEN_LEGACY_XOPEN_REALTIMEThe implementation supports the X/Open Realtime Option Group.
_XOPEN_REALTIME_THREADSThe implementation supports the X/Open Realtime Threads Option Group.
_XOPEN_SHMThe implementation supports the Issue 4, Version 2 Shared Memory Option Group.
_XOPEN_STREAMSThe implementation supports the XSI STREAMS Option Group.
_XOPEN_UNIXThe implementation supports the XSI option
_XOPEN_VERSIONInteger value indicating version of the X/Open Portability Guide to which the implementation conforms.
Trait Implementations
impl Clone for SysconfVar
fn clone(&Self) -> SysconfVarimpl Copy for SysconfVarimpl Debug for SysconfVar
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Eq for SysconfVarimpl Hash for SysconfVar
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl PartialEq<SysconfVar> for SysconfVar
fn eq(&Self, other: &SysconfVar) -> boolimpl StructuralEq for SysconfVarimpl StructuralPartialEq for SysconfVarAuto Trait Implementations
impl RefUnwindSafe for SysconfVarimpl Send for SysconfVarimpl Sync for SysconfVarimpl Unpin for SysconfVarimpl UnwindSafe for SysconfVarBlanket Implementations
impl<T> BorrowMut<T> for T
where
    T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T