Function lrs::syscall::ioctl_tiocgptn

Executes ioctl with the TIOCGPTN option.

Syntax

fn ioctl_tiocgptn(fd: i32, id: &mut u32) -> i32

Arguments

NameDescription
fd

The file descriptor on which to operate.

id

A place into which the slave id will be stored.

See also