[−][src]Enum nix::unistd::SysconfVar
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
impl Eq for SysconfVar
[src]
impl Clone for SysconfVar
[src]
fn clone(&self) -> SysconfVar
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<SysconfVar> for SysconfVar
[src]
fn eq(&self, other: &SysconfVar) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Copy for SysconfVar
[src]
impl Hash for SysconfVar
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Debug for SysconfVar
[src]
Auto Trait Implementations
impl Send for SysconfVar
impl Unpin for SysconfVar
impl Sync for SysconfVar
impl UnwindSafe for SysconfVar
impl RefUnwindSafe for SysconfVar
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,