Expand description
POSIX-style filesystem functions which operate on bare paths.
Functions§
- _readlink 🔒
- access
access(path, access)—Tests permissions for a file or directory.- chmod
chmod(path, mode)—Sets file or directory permissions.- chown
chown(path, owner, group)—Sets open file or directory ownership.- link
link(old_path, new_path)—Creates a hard link.- lstat
lstat(path)—Queries metadata for a file or directory, without following symlinks.- mkdir
mkdir(path, mode)—Creates a directory.- open
open(path, oflags, mode)—Opens a file.- readlink
readlink(path)—Reads the contents of a symlink.- rename
rename(old_path, new_path)—Renames a file or directory.- rmdir
rmdir(path)—Removes a directory.- stat
stat(path)—Queries metadata for a file or directory.- statfs
statfs—Queries filesystem metadata.- statvfs
statvfs—Queries filesystem metadata, POSIX version.- symlink
symlink(old_path, new_path)—Creates a symlink.- unlink
unlink(path)—Unlinks a file.