endttyent (3) - get ttys file entry getttyent (3) - get ttys file entry getttynam (3) - get ttys file entry setttyent (3) - get ttys file entry ttyS (4) - serial terminal lines ttyslot (3) - find the slot of the current user's terminal in some file