The text 632159e1d3c3, as FreeBSD 11.0-RELEASE shipped it.
get session ID associated with a controlling terminal
tcgetsid(3) on FreeBSD now