Skip to main content

Module fcntl

Module fcntl 

Source
Expand description

File control options

Re-exports§

pub use self::FcntlArg::*;

Structs§

AtFlags
Flags that control how the various *at syscalls behave.
FdFlag
Additional configuration flags for fcntl’s F_SETFD.
Flock
Represents an owned flock, which unlocks on drop.
OFlag
Configuration options for opened files.

Enums§

FcntlArg
Commands for use with fcntl.
FlockArg
Operations for use with Flock::lock.
PosixFadviseAdvice
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§

Flockable
Represents valid types for flock.

Functions§

fcntl
Perform various operations on open file descriptors.
flockDeprecated
open
open or create a file for reading, writing or executing
openat
open or create a file for reading, writing or executing
posix_fadvise
Allows a process to describe to the system its data access behavior for an open file descriptor.
posix_fallocate
Pre-allocate storage for a range in a file
readlink
Read value of a symbolic link
readlinkat
Read value of a symbolic link.
renameat
Change the name of a file.