[][src]Function rsys::linux::block_size

pub fn block_size(device: &str) -> Result<i64>

Returns block size of device in bytes device argument must be a path to block device file descriptor