Function rustix::fs::readlink

source ·
pub fn readlink<P: Arg, B: Into<Vec<u8>>>(path: P, reuse: B) -> Result<CString>
Available on crate feature fs only.
Expand description

readlink(path)—Reads the contents of a symlink.

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

§References