The text 653a05b35093, as FreeBSD 7.1-RELEASE shipped it.
ttys(5) file routines
getttynam(3) on FreeBSD now