carta
getsid(2) on Linux
The text 54f0ec32c97a, as Debian 1.3 (Bo) shipped it.
get session ID
getsid(2) on Linux now