[go: up one dir, main page]

Module fcntl

Module fcntl 

Source
Available on Unix only.
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.
SpliceFFlagszerocopy
Additional flags to splice and friends.

Enums§

FcntlArgfs
Commands for use with fcntl.
FlockArgfs
Operations for use with Flock::lock.
PosixFadviseAdvice(linux_android or Emscripten or Fuchsia or WASI or uClibc or FreeBSD) and fs
The specific advice provided to posix_fadvise.

Constants§

AT_FDCWDNon-Redox
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§

copy_file_rangezerocopy
Copy a range of data from one file to another
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_fadvise(linux_android or Emscripten or Fuchsia or WASI or uClibc or FreeBSD) and fs
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.
splicezerocopy
Splice data to/from a pipe
teezerocopy
Duplicate pipe content
vmsplicezerocopy
Splice user pages to/from a pipe