ttttyysslloott() -- General Function (libc)

Return a terminal's line number
iinntt ttttyysslloott()

ttttyysslloott()  returns  the number  of  the  line in  the  file /eettcc/ttttyyss  that
describes the controlling terminal (see ttttyyss).

_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
lliibbcc

_D_i_a_g_n_o_s_t_i_c_s
ttttyysslloott() returns zero if an error occurs.
