Function rustix::fs::fclonefileat

source ·
pub fn fclonefileat<Fd: AsFd, DstFd: AsFd, P: Arg>(
    src: Fd,
    dst_dir: DstFd,
    dst: P,
    flags: CloneFlags
) -> Result<()>
Expand description

fclonefileat(src, dst_dir, dst, flags)—Efficiently copies between files.

References