The text 3c758724de7c, as FreeBSD 10.1-RELEASE shipped it.
generate terminal pathname
ctermid_r(3) on FreeBSD now