Searched defs:ttyf (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/mail/
H A Dprintmail.c47 int ttyf = isatty(1) ? TTY : ORDINARY; local
198 copylet(showlet, stdout, ttyf);
H A Dsendmail.c46 int ttyf = 0; local
136 ttyf = isatty(fileno(stdin));
248 if (n == 0 || (ttyf && !strncmp(buf, ".\n", 2))) {
288 if (n == 0 || (ttyf && !strncmp(buf, ".\n", 2))) {
374 if (ttyf && !strcmp(buf, ".\n"))
384 n = ttyf
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c2115 int ttyf; local
2131 ttyf = open(w->dev, O_WRONLY|O_NOCTTY|O_NDELAY);
2132 if (ttyf >= 0) {
2133 if (fstat(ttyf, &statb) != 0) {
2141 } else if (!isatty(ttyf)) {
2161 } else if (write(ttyf, w->msg, len) != len) {
2171 (void) close(ttyf);

Completed in 80 milliseconds