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

UTIME_NOW
UTIME_NOW for use with utimensat.
UTIME_OMIT
UTIME_OMIT for use with utimensat.

Functions§

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