[−][src]Function linux::syscall::ioctl_siocinq
pub fn ioctl_siocinq(fd: c_int, unread: &mut usize) -> c_int
Executes ioctl with the SIOCINQ option.
[argument, fd] The file descriptor on which to operate.
[argument, unread] A place into which number of unread bytes will be placed.
[return_value] Returns success or an error value.
= See also
- link:man:ioctl(2)
- link:man:tcp(7) and SIOCINQ therein