F>=1 .if 3F<=8 . if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program- TTYNAM(3F) BSD Reference Manual TTYNAM(3F) mer's Manual NNAAMMEE ttynam, isatty - find name of a terminal port SSYYNNOOPPSSIISS cchhaarraacctteerr**((**)) ffuunnccttiioonn ttttyynnaamm ((lluunniitt)) llooggiiccaall ffuunnccttiioonn iissaattttyy ((lluunniitt)) DDEESSCCRRIIPPTTIIOONN _T_t_y_n_a_m returns a blank padded path name of the terminal device associated with logical unit _l_u_n_i_t. _I_s_a_t_t_y returns ..ttrruuee.. if _l_u_n_i_t is associated with a ter- minal device, ..ffaallssee.. otherwise. FFIILLEESS /dev/* /usr/lib/libU77.a DDIIAAGGNNOOSSTTIICCSS _T_t_y_n_a_m returns an empty string (all blanks) if _l_u_n_i_t is not associated with a terminal device in directory `/dev'. 4.2 Berkeley Distribution June 5, 1993 1