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