Function lrs::syscall::ioctl_tiocgptlck

Executes ioctl with the TIOCGPTLCK option.

Syntax

fn ioctl_tiocgptlck(fd: i32, locked: &mut bool) -> i32

Arguments

NameDescription
fd

The file descriptor on which to operate.

locked

Place where the lock status will be stored.

See also