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