Module fcntl

Source
Expand description

File control options

Re-exports§

pub use self::FcntlArg::*;fs

Structs§

AtFlagsfs or process
Flags that control how the various *at syscalls behave.
FdFlagfs
Additional configuration flags for fcntl’s F_SETFD.
Flockfs
Represents an owned flock, which unlocks on drop.
OFlagfs, or term, or fanotify and Linux
Configuration options for opened files.

Enums§

FcntlArgfs
Commands for use with fcntl.
FlockArgfs
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 those xxat() functions.

Traits§

Flockablefs
Represents valid types for flock.

Functions§

fcntlfs
Perform various operations on open file descriptors.
flockDeprecatedfs
openfs
open or create a file for reading, writing or executing
openatfs
open or create a file for reading, writing or executing
readlinkfs
Read value of a symbolic link
readlinkatfs
Read value of a symbolic link.
renameatfs
Change the name of a file.