carta

ttyname(3) on Linux

The text e73aedbbb0a2, as Debian 7 (Wheezy) shipped it.

return name of a terminal

ttyname(3) on Linux now