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