carta
getsid(2) on Linux
The text f9a68826ff7a, as Debian 4.0 (Etch) shipped it.
get session ID
getsid(2) on Linux now