carta
getsid(2) on Linux
The text 36b43e3c45aa, as Debian 12 (Bookworm) shipped it.
get session ID
getsid(2) on Linux now