Module rustix::fs::at

source ·
Expand description

POSIX-style *at functions.

The dirfd argument to these functions may be a file descriptor for a directory, the special value CWD, or the special value ABS.

Constants§

Functions§

  • faccessat(dirfd, path, access, flags)—Tests permissions for a file or directory.
  • fchmodat(dirfd, path, mode, flags)—Sets file or directory permissions.
  • fchownat(dirfd, path, owner, group, flags)—Sets file or directory ownership.
  • linkat(old_dirfd, old_path, new_dirfd, new_path, flags)—Creates a hard link.
  • mkdirat(fd, path, mode)—Creates a directory.
  • mknodat(dirfd, path, mode, dev)—Creates special or normal files.
  • openat(dirfd, path, oflags, mode)—Opens a file.
  • readlinkat(fd, path)—Reads the contents of a symlink.
  • readlinkat(fd, path)—Reads the contents of a symlink, without allocating.
  • renameat(old_dirfd, old_path, new_dirfd, new_path)—Renames a file or directory.
  • renameat2(old_dirfd, old_path, new_dirfd, new_path, flags)—Renames a file or directory.
  • fstatat(dirfd, path, flags)—Queries metadata for a file or directory.
  • symlinkat(old_path, new_dirfd, new_path)—Creates a symlink.
  • unlinkat(fd, path, flags)—Unlinks a file or remove a directory.
  • utimensat(dirfd, path, times, flags)—Sets file or directory timestamps.