Returns a canonicalized absolute path.
fn real_path_buf<P>(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 //.