carta
tcgetsid(3) on Linux
The text 6e2b2617c63b, as Debian 12 (Bookworm) shipped it.
get session ID
tcgetsid(3) on Linux now