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.
FallocateFlagsfs
Mode argument flags for fallocate determining operation performed on a given range.
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.
OpenHow
Specifies how openat2() should open a pathname.
RenameFlagsfs
Flags for use with renameat2.
ResolveFlag
Path resolution flags.
SealFlagfs
Additional flags for file sealing, which allows for limiting operations on a file.

Enums§

FcntlArgfs
Commands for use with fcntl.
FlockArgfs
Operations for use with Flock::lock.
PosixFadviseAdvicefs
The specific advice provided to posix_fadvise.

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§

fallocatefs
Manipulates file space.
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
openat2
Open or create a file for reading, writing or executing.
posix_fadvisefs
Allows a process to describe to the system its data access behavior for an open file descriptor.
posix_fallocatefs
Pre-allocate storage for a range in a file
readlinkfs
Read value of a symbolic link
readlinkatfs
Read value of a symbolic link.
renameatfs
Change the name of a file.
renameat2fs
Like renameat, but with an additional flags argument.