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