Expand description
file control options
Re-exports§
pub use self::FcntlArg::*;
Structs§
- Flags that control how the various *at syscalls behave.
- Mode argument flags for fallocate determining operation performed on a given range.
- Additional configuration flags for
fcntl
’sF_SETFD
. - Represents an owned flock, which unlocks on drop.
- Configuration options for opened files.
- Specifies how
openat2()
should open a pathname. - Flags for use with
renameat2
. - Path resolution flags.
- Additional flags for file sealing, which allows for limiting operations on a file.
- Additional flags to
splice
and friends.
Enums§
- Commands for use with
fcntl
. - Operations for use with
Flock::lock
. - The specific advice provided to
posix_fadvise
.
Constants§
- A file descriptor referring to the working directory of the current process that should be ONLY passed to the
dirfd
argument of thosexxat()
functions.
Traits§
- Represents valid types for flock.
Functions§
- Copy a range of data from one file to another
- Manipulates file space.
- Perform various operations on open file descriptors.
- flock
Deprecated - open or create a file for reading, writing or executing
- open or create a file for reading, writing or executing
- Open or create a file for reading, writing or executing.
- Allows a process to describe to the system its data access behavior for an open file descriptor.
- Pre-allocate storage for a range in a file
- Read value of a symbolic link
- Read value of a symbolic link.
- Change the name of a file.
- Like
renameat
, but with an additionalflags
argument. - Splice data to/from a pipe
- Duplicate pipe content
- Splice user pages to/from a pipe