Expand description
file control options
Re-exports§
pub use self::FcntlArg::*;
fs
Structs§
- AtFlags
fs
orprocess
Flags that control how the various *at syscalls behave. - Mode argument flags for fallocate determining operation performed on a given range.
- FdFlag
fs
Additional configuration flags forfcntl
’sF_SETFD
. - Flock
fs
Represents an owned flock, which unlocks on drop. - OFlag
fs
, orterm
, orfanotify
and LinuxConfiguration options for opened files. - Flags for use with
renameat2
. - SealFlag
fs
Additional flags for file sealing, which allows for limiting operations on a file. - SpliceFFlags
zerocopy
Additional flags tosplice
and friends.
Enums§
- FcntlArg
fs
Commands for use withfcntl
. - FlockArg
fs
Operations for use withFlock::lock
. - The specific advice provided to
posix_fadvise
.
Traits§
- Represents valid types for flock.
Functions§
- copy_file_range
zerocopy
Copy a range of data from one file to another - Manipulates file space.
- fcntl
fs
Perform various operations on open file descriptors. - open
fs
open or create a file for reading, writing or executing - openat
fs
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
- readlink
fs
Read value of a symbolic link - Read value of a symbolic link.
- renameat
fs
Change the name of a file. - Like
renameat
, but with an additionalflags
argument. - splice
zerocopy
Splice data to/from a pipe - tee
zerocopy
Duplicate pipe content - vmsplice
zerocopy
Splice user pages to/from a pipe