Function lrs::syscall::ioctl_tiocgetd

Executes ioctl with the TIOCGETD option.

Syntax

fn ioctl_tiocgetd(fd: i32, discipline: &mut i32) -> i32

Arguments

NameDescription
fd

The file descriptor on which to operate.

discipline

Place where the line discipline of the terminal will be stored.

See also