The text 3750e61d31e2, as FreeBSD 12.3-RELEASE shipped it.
generate terminal pathname
ctermid_r(3) on FreeBSD now