Document ttyname_r, getpt, grantpt, unlockpt, ptsname, ptsname_r,