carta

ttyname(3) on Linux

The text 18d651045cea, as Debian 6.0 (Squeeze) shipped it.

return name of a terminal

ttyname(3) on Linux now