Function rustix::fs::renameat

source · []
pub fn renameat<P: Arg, Q: Arg, PFd: AsFd, QFd: AsFd>(
    old_dirfd: PFd,
    old_path: P,
    new_dirfd: QFd,
    new_path: Q
) -> Result<()>
Expand description

renameat(old_dirfd, old_path, new_dirfd, new_path)—Renames a file or directory.

References