Expand description
File control options
Re-exports§
pub use self::FcntlArg::*;fs
Structs§
- AtFlags
fsorprocess - Flags that control how the various *at syscalls behave.
- Fallocate
Flags fs - Mode argument flags for fallocate determining operation performed on a given range.
- FdFlag
fs - Additional configuration flags for
fcntl’sF_SETFD. - Flock
fs - Represents an owned flock, which unlocks on drop.
- OFlag
fs, orterm, orfanotifyand Linux - Configuration options for opened files.
- OpenHow
- Specifies how
openat2()should open a pathname. - Rename
Flags fs - Flags for use with
renameat2. - Resolve
Flag - Path resolution flags.
- Seal
Flag fs - Additional flags for file sealing, which allows for limiting operations on a file.
Enums§
- Fcntl
Arg fs - Commands for use with
fcntl. - Flock
Arg fs - Operations for use with
Flock::lock. - Posix
Fadvise Advice fs - The specific advice provided to
posix_fadvise.
Constants§
- AT_
FDCWD - A file descriptor referring to the working directory of the current process
that should be ONLY passed to the
dirfdargument of thosexxat()functions.
Traits§
- Flockable
fs - Represents valid types for flock.
Functions§
- fallocate
fs - Manipulates file space.
- fcntl
fs - Perform various operations on open file descriptors.
- flock
Deprecated fs - open
fs - open or create a file for reading, writing or executing
- openat
fs - open or create a file for reading, writing or executing
- openat2
- Open or create a file for reading, writing or executing.
- posix_
fadvise fs - Allows a process to describe to the system its data access behavior for an open file descriptor.
- posix_
fallocate fs - Pre-allocate storage for a range in a file
- readlink
fs - Read value of a symbolic link
- readlinkat
fs - Read value of a symbolic link.
- renameat
fs - Change the name of a file.
- renameat2
fs - Like
renameat, but with an additionalflagsargument.