Function rustix::fs::readlinkat

pub fn readlinkat<P: path::Arg, Fd: AsFd, B: Into<Vec<u8>>>(dirfd: &Fd, path: P, reuse: B) -> io::Result<ZString>
Documentation

readlinkat(fd, path)—Reads the contents of a symlink.

If reuse is non-empty, reuse its buffer to store the result if possible.

References