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