Function lrs::syscall::ioctl_tiocgsid

Executes ioctl with the TIOCGSID option.

Syntax

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

Arguments

NameDescription
fd

The file descriptor on which to operate.

id

Place where the session id of the terminal will be stored.

See also