return __ptsname_r (fd, namebuf, PTYNAMELEN) != 0 ? NULL : namebuf;
return __ptsname_r (fd, buffer, sizeof (buffer)) != 0 ? NULL : buffer;
ptsname (fd)     int fd;{  return __ptsname_r (fd, namebuf, PTYNAMELEN) != 0 ? NULL : namebuf;}