Home
last modified time | relevance | path

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

/freebsd-10-stable/bin/ps/
Dprint.c355 char *ttname, *str; in tname() local
358 if (dev == NODEV || (ttname = devname(dev, S_IFCHR)) == NULL) in tname()
361 if (strncmp(ttname, "tty", 3) == 0 || in tname()
362 strncmp(ttname, "cua", 3) == 0) in tname()
363 ttname += 3; in tname()
364 if (strncmp(ttname, "pts/", 4) == 0) in tname()
365 ttname += 4; in tname()
366 asprintf(&str, "%s%c", ttname, in tname()
377 const char *ttname; in longtname() local
380 if (dev == NODEV || (ttname = devname(dev, S_IFCHR)) == NULL) in longtname()
[all …]
/freebsd-10-stable/crypto/openssh/openbsd-compat/
Dbsd-openpty.c138 const char *ttname; in openpty()
142 if ((ttname = ttyname(*amaster)) == NULL) in openpty()
144 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty()
/freebsd-10-stable/crypto/heimdal/appl/login/
Dlogin.c643 char ttname[32]; in main() local
704 snprintf(ttname, sizeof(ttname), "%s??", _PATH_TTY); in main()
705 ttyn = ttname; in main()