The text 0e883cce7bca, as FreeBSD 7.3-RELEASE shipped it.
ttys(5) file routines
getttynam(3) on FreeBSD now