rustix::fs

Function ioctl_blksszget

Source
pub fn ioctl_blksszget<Fd: AsFd>(fd: Fd) -> Result<u32>
Expand description

ioctl(fd, BLKSSZGET)—Returns the logical block size of a block device.

This is mentioned in the Linux openat manual page.