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