ttyslot(3) on Linux
The text 4b19d01557d3, as Debian 6.0 (Squeeze) shipped it.
find the slot of the current user's terminal in some file
The text 4b19d01557d3, as Debian 6.0 (Squeeze) shipped it.
find the slot of the current user's terminal in some file