carta
tcgetsid(3) on Linux
The text 94e1fcd566bb, as Debian 6.0 (Squeeze) shipped it.
get session ID
tcgetsid(3) on Linux now