Function lrs::syscall::ioctl_siocinq

Executes ioctl with the SIOCINQ option.

Syntax

fn ioctl_siocinq(fd: i32, unread: &mut usize) -> i32

Arguments

NameDescription
fd

The file descriptor on which to operate.

unread

A place into which number of unread bytes will be placed.

Return value

Returns success or an error value.

See also