Function rustix::fs::readlinkat
source · pub fn readlinkat<P: Arg, Fd: AsFd, B: Into<Vec<u8>>>(
dirfd: Fd,
path: P,
reuse: B
) -> Result<CString>
Expand description
readlinkat(fd, path)
—Reads the contents of a symlink.
If reuse
is non-empty, reuse its buffer to store the result if possible.