rustix::fs

Function readlink

Source
pub fn readlink<P: Arg, B: Into<Vec<u8>>>(path: P, reuse: B) -> Result<CString>
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