The text 40bfed97b8bf, as Debian 6.0 (Squeeze) shipped it.
get the name of the slave pseudo-terminal
ptsname(3) on Linux now