The text 6946b5d3b74b, as FreeBSD 9.1-RELEASE shipped it.
auxiliary functions to obtain a pseudo-terminal
pty(3) on FreeBSD now