carta
getsid(2) on Linux
The text a42fe0bf27ef, as Debian 2.1 (Slink) shipped it.
get session ID
getsid(2) on Linux now