Module nix::fcntl

source ·
Expand description

file control options

Re-exports§

Structs§

  • Flags that control how the various *at syscalls behave.
  • Mode argument flags for fallocate determining operation performed on a given range.
  • Additional configuration flags for fcntl’s F_SETFD.
  • Represents an owned flock, which unlocks on drop.
  • Configuration options for opened files.
  • Specifies how openat2() should open a pathname.
  • Flags for use with renameat2.
  • Path resolution flags.
  • Additional flags for file sealing, which allows for limiting operations on a file.
  • Additional flags to splice and friends.

Enums§

Constants§

  • 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§

Functions§

  • Copy a range of data from one file to another
  • Manipulates file space.
  • Perform various operations on open file descriptors.
  • flockDeprecated
  • open or create a file for reading, writing or executing
  • 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.
  • Like renameat, but with an additional flags argument.
  • Splice data to/from a pipe
  • Duplicate pipe content
  • Splice user pages to/from a pipe