Enum nix::unistd::SysconfVar [−][src]
#[repr(i32)] pub enum SysconfVar {}Show 120 variants
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,
Expand description
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
Maximum number of I/O operations in a single list I/O call supported by the implementation.
Maximum number of outstanding asynchronous I/O operations supported by the implementation.
The maximum amount by which a process can decrease its asynchronous I/O priority level from its own scheduling priority.
Maximum length of argument to the exec functions including environment data.
Maximum number of functions that may be registered with atexit
.
Maximum obase values allowed by the bc utility.
Maximum number of elements permitted in an array by the bc utility.
Maximum scale value allowed by the bc utility.
Maximum length of a string constant accepted by the bc utility.
Maximum number of simultaneous processes per real user ID.
Maximum number of weights that can be assigned to an entry of the LC_COLLATE order keyword in the locale definition file
Maximum number of timer expiration overruns.
Maximum number of expressions that can be nested within parentheses by the expr utility.
Maximum length of a host name (not including the terminating null) as
returned from the gethostname
function
Maximum number of iovec structures that one process has available for
use with readv
or writev
.
Unless 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
Maximum length of a login name.
Maximum number of simultaneous supplementary group IDs per process.
Initial size of getgrgid_r
and getgrnam_r
data buffers
Initial size of getpwuid_r
and getpwnam_r
data buffers
The maximum number of open message queue descriptors a process may hold.
The maximum number of message priorities supported by the implementation.
A value one greater than the maximum value that the system may assign to a newly-created file descriptor.
The implementation supports the Advisory Information option.
The implementation supports barriers.
The implementation supports asynchronous input and output.
The implementation supports clock selection.
The implementation supports the Process CPU-Time Clocks option.
The implementation supports the File Synchronization option.
The implementation supports the IPv6 option.
The implementation supports job control.
The implementation supports memory mapped Files.
The implementation supports the Process Memory Locking option.
The implementation supports the Range Memory Locking option.
The implementation supports memory protection.
The implementation supports the Message Passing option.
The implementation supports the Monotonic Clock option.
The implementation supports the Prioritized Input and Output option.
The implementation supports the Process Scheduling option.
The implementation supports the Raw Sockets option.
The implementation supports read-write locks.
The implementation supports realtime signals.
The implementation supports the Regular Expression Handling option.
Each process has a saved set-user-ID and a saved set-group-ID.
The implementation supports semaphores.
The implementation supports the Shared Memory Objects option.
The implementation supports the POSIX shell.
The implementation supports the Spawn option.
The implementation supports spin locks.
The implementation supports the Process Sporadic Server option.
The implementation supports the Synchronized Input and Output option.
The implementation supports the Thread Stack Address Attribute option.
The implementation supports the Thread Stack Size Attribute option.
The implementation supports the Thread CPU-Time Clocks option.
The implementation supports the Non-Robust Mutex Priority Inheritance option.
The implementation supports the Non-Robust Mutex Priority Protection option.
The implementation supports the Thread Execution Scheduling option.
The implementation supports the Thread Process-Shared Synchronization option.
The implementation supports the Robust Mutex Priority Inheritance option.
The implementation supports the Robust Mutex Priority Protection option.
The implementation supports thread-safe functions.
The implementation supports the Thread Sporadic Server option.
The implementation supports threads.
The implementation supports timeouts.
The implementation supports timers.
The implementation supports the Trace option.
The implementation supports the Trace Event Filter option.
The implementation supports the Trace Inherit option.
The implementation supports the Trace Log option.
The implementation supports the Typed Memory Objects option.
Integer 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.
The implementation provides a C-language compilation environment with
32-bit int
, long
, pointer
, and off_t
types.
The 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.
The implementation provides a C-language compilation environment with
32-bit int
and 64-bit long
, pointer
, and off_t
types.
The 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.
The implementation supports the C-Language Binding option.
The implementation supports the C-Language Development Utilities option.
The implementation supports the Terminal Characteristics option.
The implementation supports the FORTRAN Development Utilities option.
The implementation supports the FORTRAN Runtime Utilities option.
The implementation supports the creation of locales by the localedef utility.
The implementation supports the Batch Environment Services and Utilities option.
The implementation supports the Batch Accounting option.
The implementation supports the Batch Checkpoint/Restart option.
The implementation supports the Locate Batch Job Request option.
The implementation supports the Batch Job Message Request option.
The implementation supports the Track Batch Job Request option.
The implementation supports the Software Development Utilities option.
The implementation supports the User Portability Utilities option.
Integer value indicating version of the Shell and Utilities volume of POSIX.1 to which the implementation conforms.
The 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
.
The implementation supports the X/Open Encryption Option Group.
The implementation supports the Issue 4, Version 2 Enhanced Internationalization Option Group.
The implementation supports the X/Open Realtime Option Group.
The implementation supports the X/Open Realtime Threads Option Group.
The implementation supports the Issue 4, Version 2 Shared Memory Option Group.
The implementation supports the XSI STREAMS Option Group.
The implementation supports the XSI option
Integer value indicating version of the X/Open Portability Guide to which the implementation conforms.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SysconfVar
impl Send for SysconfVar
impl Sync for SysconfVar
impl Unpin for SysconfVar
impl UnwindSafe for SysconfVar
Blanket Implementations
Mutably borrows from an owned value. Read more