Function rustix::io::ioctl_blksszget
pub fn ioctl_blksszget<Fd: AsFd>(fd: &Fd) -> io::Result<u32>
The portability is definied by:
#[cfg(any(target_os = "android", target_os = "linux"))]
Documentation
ioctl(fd, BLKSSZGET)
—Returns the logical block size of a block device.