[][src]Function linux::syscall::ioctl_siocoutq

pub fn ioctl_siocoutq(fd: c_int, unread: &mut usize) -> c_int

Executes ioctl with the SIOCOUTQ 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 SIOCOUTQ therein