Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/write/
H A Dwrite.c95 char *terminal, *ownterminal, *oterminal; in main() local
157 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()