if (__bos (__buf) != (size_t) -1 && (!__builtin_constant_p (__buflen) || __buflen > __bos (__buf))) return __ptsname_r_chk (__fd, __buf, __buflen, __bos (__buf)); return __ptsname_r_alias (__fd, __buf, __buflen);
__NTH (ptsname_r (int __fd, char *__buf, size_t __buflen)){  if (__bos (__buf) != (size_t) -1      && (!__builtin_constant_p (__buflen) || __buflen > __bos (__buf)))    return __ptsname_r_chk (__fd, __buf, __buflen, __bos (__buf));  return __ptsname_r_alias (__fd, __buf, __buflen);}