Retrieves the target of a symbolic link.
fn read_link_buf<P>(link: P, buf: &mut [u8]) -> Result<&mut NoNullStr, Errno>
where P: ToCString,| Name | Description |
|---|---|
| link | The link whose target is to be retrieved. |
| buf | The buffer where the target will be stored in. |
Returns the target of the link.
If the path is relative, it will be interpreted relative to the current working directory.