Searched refs:ownterminal (Results 1 – 1 of 1) sorted by relevance
95 char *terminal, *ownterminal, *oterminal; in main() local157 if ((ownterminal = ttyname(fileno(stdin))) == NULL && in main()158 (ownterminal = ttyname(fileno(stdout))) == NULL && in main()159 (ownterminal = ttyname(fileno(stderr))) == NULL) { in main()163 ownterminal = "/dev/???"; in main()170 oterminal = ownterminal + sizeof ("/dev/")-1; in main()