HomeSort by: relevance | last modified time | path
    Searched refs:ttypath (Results 1 - 3 of 3) sorted by relevancy

  /src/usr.bin/tset/
term.c 62 char *p, *ttypath; local
75 if ((ttypath = ttyname(STDERR_FILENO)) != NULL) {
76 if ((p = strrchr(ttypath, '/')) != NULL)
79 p = ttypath;
  /src/external/bsd/tmux/dist/
osdep-sunos.c 71 const char *ttypath; local
76 if ((ttypath = ptsname(fd)) == NULL)
78 if ((ttyfd = open(ttypath, O_RDONLY|O_NOCTTY)) == -1)
  /src/bin/ps/
ps.c 155 const char *ttypath; local
158 ttypath = NULL;
167 ttypath = _PATH_CONSOLE;
172 ttypath = pathbuf;
176 ttypath = pathbuf;
178 ttypath = ttname;
180 if (stat(ttypath, &sb) == -1) {
194 err(EXIT_FAILURE, "%s", ttypath);
197 errx(EXIT_FAILURE, "%s: not a terminal", ttypath);

Completed in 16 milliseconds