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