Function lrs::tty::is_a_tty

Returns whether a file descriptor refers to a tty.

Syntax

fn is_a_tty<F>(fd: &F) -> bool
    where F: FDContainer,

Arguments

NameDescription
fd

The file descriptor to check.