Reads the target of a symbolic link relative to this file.
impl File {
fn rel_read_link<P>(&self, link: P) -> Result<NoNullString<Libc>, Errno>
where P: ToCString,
}| Name | Description |
|---|---|
| link | The path to the symlink. |
Returns the target of the link.
If the path is relative, this file must be a directory and the path will be interpreted relative to it.