Module posish::fs [−][src]
Expand description
Filesystem operations.
Structs
*_OK
constants for use with accessat
.
CLONE_*
constants for use with fclonefileat
.
COPYFILE_*
constants.
DIR*
struct dirent
FALLOC_FL_*
constants for use with fallocate
.
FD_*
constants for use with fcntl_getfd
and fcntl_setfd
.
S_I*
constants for use with openat
.
O_*
constants for use with openat
.
Enums
S_IF*
constants.
Constants
Traits
Re-export types common to Posix-ish platforms.
Re-export types common to Posix-ish platforms.
Re-export types common to Posix-ish platforms.
Re-export types common to Posix-ish platforms.
Re-export types common to Posix-ish platforms.
Functions
faccessat(dirfd, path, access, flags)
fchmodat(dirfd, path, mode, 0)
copyfile_state_alloc()
copyfile_state_free(state)
copyfile_state_get(state, flags, dst)
copyfile_state_get(state, COPYFILE_STATE_COPIED)
AT_FDCWD
fallocate(fd, mode, offset, len)
fchmod(fd)
.
fclonefileat(src, dst_dir, dst, flags)
fcntl(fd, F_DUPFD_CLOEXEC)
fcntl(fd, F_GETFD)
fcntl(fd, F_GETFL)
fcntl(fd, F_RDADVISE, radvisory { offset, len })
fcntl(fd, F_SETFD, flags)
fcntl(fd, F_SETFL, flags)
fcopyfile(from, to, state, flags)
fstat(fd)
fstatfs(fd)
fsync(fd)
ftruncate(fd, length)
futimens(fd, times)
fcntl(fd, F_GETPATH)
fcntl(fd, F_GETFL) & O_ACCMODE
.
linkat(old_dirfd, old_path, new_dirfd, new_path, flags)
mkdirat(fd, path, mode)
openat(dirfd, path, oflags, mode)
readlinkat(fd, path)
renameat(old_dirfd, old_path, new_dirfd, new_path)
lseek(fd, offset, whence)
fstatat(dirfd, path, flags)
symlinkat(old_dirfd, old_path, new_dirfd, new_path)
lseek(fd, 0, SEEK_CUR)
unlinkat(fd, path, flags)
utimensat(dirfd, path, times, flags)