structstd.os.linux.AT[src]

Values

ConstantFDCWD[src]

Special value used to indicate openat should use the current working directory

Source Code

Source code
pub const FDCWD = -100

Do not follow symbolic links

Source code
pub const SYMLINK_NOFOLLOW = 0x100

ConstantREMOVEDIR[src]

Remove directory instead of unlinking file

Source Code

Source code
pub const REMOVEDIR = 0x200

Follow symbolic links.

Source code
pub const SYMLINK_FOLLOW = 0x400

ConstantNO_AUTOMOUNT[src]

Suppress terminal automount traversal

Source Code

Source code
pub const NO_AUTOMOUNT = 0x800

ConstantEMPTY_PATH[src]

Allow empty relative pathname

Source Code

Source code
pub const EMPTY_PATH = 0x1000

ConstantSTATX_SYNC_TYPE[src]

Type of synchronisation required from statx()

Source Code

Source code
pub const STATX_SYNC_TYPE = 0x6000

ConstantSTATX_SYNC_AS_STAT[src]

  • Do whatever stat() does

Source Code

Source code
pub const STATX_SYNC_AS_STAT = 0x0000

ConstantSTATX_FORCE_SYNC[src]

  • Force the attributes to be sync'd with the server

Source Code

Source code
pub const STATX_FORCE_SYNC = 0x2000

ConstantSTATX_DONT_SYNC[src]

  • Don't sync attributes with the server

Source Code

Source code
pub const STATX_DONT_SYNC = 0x4000

ConstantRECURSIVE[src]

Apply to the entire subtree

Source Code

Source code
pub const RECURSIVE = 0x8000

ConstantREMOVEDIR[src]

Remove directory instead of unlinking file

Source Code

Source code
pub const REMOVEDIR = 0x200

Source Code

Source code
pub const AT = struct {
    /// Special value used to indicate openat should use the current working directory
    pub const FDCWD = -100;

    /// Do not follow symbolic links
    pub const SYMLINK_NOFOLLOW = 0x100;

    /// Remove directory instead of unlinking file
    pub const REMOVEDIR = 0x200;

    /// Follow symbolic links.
    pub const SYMLINK_FOLLOW = 0x400;

    /// Suppress terminal automount traversal
    pub const NO_AUTOMOUNT = 0x800;

    /// Allow empty relative pathname
    pub const EMPTY_PATH = 0x1000;

    /// Type of synchronisation required from statx()
    pub const STATX_SYNC_TYPE = 0x6000;

    /// - Do whatever stat() does
    pub const STATX_SYNC_AS_STAT = 0x0000;

    /// - Force the attributes to be sync'd with the server
    pub const STATX_FORCE_SYNC = 0x2000;

    /// - Don't sync attributes with the server
    pub const STATX_DONT_SYNC = 0x4000;

    /// Apply to the entire subtree
    pub const RECURSIVE = 0x8000;

    pub const HANDLE_FID = REMOVEDIR;
}