carta

ctermid(3) on Linux

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

get controlling terminal name

ctermid(3) on Linux now