[−][src]Enum nix::unistd::PathconfVar
Variable names for pathconf
Nix uses the same naming convention for these variables as the
getconf(1) utility.
That is, PathconfVar variables have the same name as the abstract
variables shown in the pathconf(2) man page. Usually, it's the same as
the C variable name without the leading _PC_.
POSIX 1003.1-2008 standardizes all of these variables, but some OSes choose not to implement variables that cannot change at runtime.
References
Variants
FILESIZEBITSMinimum number of bits needed to represent, as a signed integer value, the maximum size of a regular file allowed in the specified directory.
LINK_MAXMaximum number of links to a single file.
MAX_CANONMaximum number of bytes in a terminal canonical input line.
MAX_INPUTMinimum number of bytes for which space is available in a terminal input queue; therefore, the maximum number of bytes a conforming application may require to be typed as input before reading them.
NAME_MAXMaximum number of bytes in a filename (not including the terminating null of a filename string).
PATH_MAXMaximum number of bytes the implementation will store as a pathname in a user-supplied buffer of unspecified size, including the terminating null character. Minimum number the implementation will accept as the maximum number of bytes in a pathname.
PIPE_BUFMaximum number of bytes that is guaranteed to be atomic when writing to a pipe.
POSIX2_SYMLINKSSymbolic links can be created.
POSIX_ALLOC_SIZE_MINMinimum number of bytes of storage actually allocated for any portion of a file.
POSIX_REC_INCR_XFER_SIZERecommended increment for file transfer sizes between the
POSIX_REC_MIN_XFER_SIZE and POSIX_REC_MAX_XFER_SIZE values.
POSIX_REC_MAX_XFER_SIZEMaximum recommended file transfer size.
POSIX_REC_MIN_XFER_SIZEMinimum recommended file transfer size.
POSIX_REC_XFER_ALIGNRecommended file transfer buffer alignment.
SYMLINK_MAXMaximum number of bytes in a symbolic link.
_POSIX_CHOWN_RESTRICTEDThe use of chown and fchown is restricted to a process with
appropriate privileges, and to changing the group ID of a file only to
the effective group ID of the process or to one of its supplementary
group IDs.
_POSIX_NO_TRUNCPathname components longer than {NAME_MAX} generate an error.
_POSIX_VDISABLEThis symbol shall be defined to be the value of a character that shall disable terminal special character handling.
_POSIX_ASYNC_IOAsynchronous input or output operations may be performed for the associated file.
_POSIX_PRIO_IOPrioritized input or output operations may be performed for the associated file.
_POSIX_SYNC_IOSynchronized input or output operations may be performed for the associated file.
Trait Implementations
impl Clone for PathconfVar[src]
fn clone(&self) -> PathconfVar[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for PathconfVar[src]
impl Eq for PathconfVar[src]
impl PartialEq<PathconfVar> for PathconfVar[src]
fn eq(&self, other: &PathconfVar) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for PathconfVar[src]
impl Hash for PathconfVar[src]
Auto Trait Implementations
impl Send for PathconfVar
impl Sync for PathconfVar
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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> 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,