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. - Specifies how openat2 should open a pathname.
- Flags for use with
renameat2
. - 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 withfcntl
. - Flock
Arg fs
Operations for use withFlock::lock
. - The specific advice provided to
posix_fadvise
.
Traits§
- Represents valid types for flock.
Functions§
- 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 - 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.