Reads the target of a symbolic link relative to this file.
impl File {
fn rel_read_link_buf<P>(&self, link: P, buf: &'a mut [u8]) -> Result<&'a mut NoNullStr, Errno>
where P: ToCString,
}| Name | Description |
|---|---|
| link | The path to the symlink. |
| buf | The buffer in which the target will be stored. |
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.