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