Skip to main content

get_device_size

Function get_device_size 

Source
fn get_device_size(file: &File) -> Result<u64>
Expand description

Get total size in bytes of the given block or character device.