The text 516b87eaaa1c, as FreeBSD 11.1-RELEASE shipped it.
auxiliary functions to obtain a pseudo-terminal
openpty(3) on FreeBSD now