if (__ptsname_r (fd, buf, PTYNAMELEN))
if (__ptsname_r (fd, buf, sizeof (buf)))
unlockpt (fd)     int fd;{  char buf[PTYNAMELEN];  if (__ptsname_r (fd, buf, PTYNAMELEN))    return -1;  return revoke (buf);}