iissaattttyy() -- General Function (libc) (libc)

Check if a device is a terminal
#iinncclluuddee <uunniissttdd.hh>
iinntt iissaattttyy(_f_d) iinntt _f_d;

iissaattttyy() checks  to see if a  device is a terminal.  It  returns one if the
file descriptor _f_d describes a terminal, and zero otherwise.

_F_i_l_e_s
/ddeevv/* -- Terminal special files
/eettcc/ttttyyss -- Login terminals

_S_e_e _A_l_s_o
iiooccttll(), lliibbcc, ttttyy, ttttyynnaammee(), ttttyysslloott(), uunniissttdd.hh
POSIX Standard, section 4.7.2
