Module nix::fcntl

source ·
Expand description

file control options

Re-exports§

Structs§

  • AtFlagsfs or process
    Flags that control how the various *at syscalls behave.
  • Additional configuration flags for fcntl’s F_SETFD.
  • Represents an owned flock, which unlocks on drop.
  • OFlagfs, or term, or fanotify and Linux
    Configuration options for opened files.
  • Additional flags for file sealing, which allows for limiting operations on a file.
  • Argument to fspacectl describing the range to zero. The first member is the file offset, and the second is the length of the region.

Enums§

Traits§

Functions§

  • Copy a range of data from one file to another
  • Perform various operations on open file descriptors.
  • flockDeprecatedfs
  • Punch holes in a file.
  • Like fspacectl, but will never return incomplete.
  • open or create a file for reading, writing or executing
  • open or create a file for reading, writing or executing
  • Allows a process to describe to the system its data access behavior for an open file descriptor.
  • Pre-allocate storage for a range in a file
  • Read value of a symbolic link
  • Read value of a symbolic link.
  • Change the name of a file.