The text afbb2b35d515, as FreeBSD 7.4-RELEASE shipped it.
ttys(5) file routines
isnettty(3) on FreeBSD now