carta

ttyslot(3) on Linux

The text 932ef5a5efab, as Debian 12 (Bookworm) shipped it.

find the slot of the current user's terminal in some file

ttyslot(3) on Linux now