Function lrs::syscall::ioctl_tiocsptlck

Executes ioctl with the TIOCSPTLCK option.

Syntax

fn ioctl_tiocsptlck(fd: i32, locked: bool) -> i32

Arguments

NameDescription
fd

The file descriptor on which to operate.

locked

Whether the slave is locked.

See also