cctt -- Device Driver

Controlling terminal driver

For each process, the  controlling terminal driver /ddeevv/ttttyy is an interface
to the appropriate  terminal driver.  COHERENT passes any input-output call
(e.g.  cclloossee(),  iiooccttll(), ooppeenn(), rreeaadd(), or wwrriittee())  on this special file
directly to the controlling terminal device for the requesting process.

Normally, the  controlling terminal is the  default standard input, output,
and error device.  This is not the case for daemon processes started by the
initial process.

_F_i_l_e_s
/ddeevv/ttttyy

_S_e_e _A_l_s_o
ddeevviiccee ddrriivveerrss, iinniitt

_D_i_a_g_n_o_s_t_i_c_s
When a call finds no valid controlling terminal for a process, it returns a
value of -1 and sets eerrrrnnoo to EENNXXIIOO.
