Returns the path of a device in "/dev".
impl Device {
fn to_path(self, buf: &mut [u8]) -> Result<&mut [u8], Errno>
}| Name | Description |
|---|---|
| buf | The buffer in which the device path will be stored. |
This functionality is only available if lrs has been compiled with the device_paths option. Otherwise the function returns the NotImplemented error.