Reads the target of a symbolic link relative to a directory.
fn readlinkat(dir: i32, path: &CStr, buf: &mut [u8]) -> i64
| Name | Description |
|---|---|
| dir | The directory relative to which relative paths are interpreted. |
| path | The path of the link. |
| buf | The buffer in which the target will be placed. |
Returns the length of the target or an error value.