carta

ctermid(3) on Linux

The text 6cfc6d2370dc, as Debian 6.0 (Squeeze) shipped it.

get controlling terminal name

ctermid(3) on Linux now