Function ioctl_blksszget
pub fn ioctl_blksszget<Fd>(fd: Fd) -> Result<u32, Errno> ⓘwhere
Fd: AsFd,
Available on crate feature
dep_rustix
only.Expand description
ioctl(fd, BLKSSZGET)
—Returns the logical block size of a block device.
This is mentioned in the Linux openat
manual page.