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.
- FdFlag
fs
- Additional configuration flags for
fcntl
’sF_SETFD
. - Flock
fs
- Represents an owned flock, which unlocks on drop.
- OFlag
fs
, orterm
, orfanotify
and Linux - Configuration options for opened files.
Enums§
- Fcntl
Arg fs
- Commands for use with
fcntl
. - Flock
Arg fs
- Operations for use with
Flock::lock
.
Constants§
- AT_
FDCWD - 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§
- Flockable
fs
- Represents valid types for flock.
Functions§
- 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
- readlink
fs
- Read value of a symbolic link
- readlinkat
fs
- Read value of a symbolic link.
- renameat
fs
- Change the name of a file.