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