Home
last modified time | relevance | path

Searched refs:pty_num (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Dpty.cpp67 unsigned int pty_num; in ptsname_r() local
68 if (ioctl(fd, TIOCGPTN, &pty_num) != 0) { in ptsname_r()
73 if (snprintf(buf, len, "/dev/pts/%u", pty_num) >= static_cast<int>(len)) { in ptsname_r()