Returns a canonicalized absolute path relative to this file.
impl File {
fn rel_real_path_buf<P>(&self, path: P, buf: &'a mut [u8]) -> Result<&'a mut CStr, Errno>
where P: ToCString,
}| Name | Description |
|---|---|
| path | The path to canonicalize. |
| buf | The buffer where the path will be stored in. |
The path will not contain any /./, /../, or //.
If the path is relative, this file must be a directory and the path will be interpreted relative to it.