Symbol: isatty
bin/ed/main.c
138
if (isatty(0)) signal(SIGWINCH, handle_winch);
bin/ed/main.c
150
if (read_file(*argv, 0) < 0 && !isatty(0))
bin/ed/main.c
160
if (!isatty(0))
bin/ed/main.c
178
if (!isatty(0)) {
bin/ed/main.c
212
if (!isatty(0)) {
bin/ed/main.c
220
if (!isatty(0)) {
bin/ed/main.c
229
if (!isatty(0)) {
bin/ls/ls.c
153
if (isatty(STDOUT_FILENO)) {
bin/ls/ls.c
335
(isatty(STDOUT_FILENO) || getenv("CLICOLOR_FORCE")))
bin/mined/mined1.c
1489
if (!isatty(0)) { /* Reading from pipe */
bin/mv/mv.c
197
} else if (access(to, W_OK) && !stat(to, &sb) && isatty(STDIN_FILENO)) {
bin/rm/rm.c
167
stdin_ok = isatty(STDIN_FILENO);
bin/sh/histedit.c
100
if (editing && !el && isatty(0)) { /* && isatty(2) ??? */
bin/sh/jobs.c
190
while (i <= 2 && !isatty(i))
bin/sh/miscbltin.c
214
if (prompt && isatty(0)) {
bin/sh/options.c
102
if (iflag != 0 && sflag == 1 && isatty(0) && isatty(1)) {
bin/stty/util.c
56
if (isatty(STDOUT_FILENO) && isatty(STDERR_FILENO) &&
bin/test/test.c
311
return isatty(getn(*++t_wp));
crypto/libressl/apps/nc/netcat.c
1404
if (isatty(STDOUT_FILENO))
crypto/openssh/auth-pam.c
1138
if (n <= 0 || n > PAM_MAX_NUM_MSG || !isatty(STDIN_FILENO))
crypto/openssh/channels.c
2113
pty_zeroread = c->isatty;
crypto/openssh/channels.c
2116
force = c->isatty && c->detach_close && c->istate != CHAN_INPUT_CLOSED;
crypto/openssh/channels.c
2255
if (c->isatty && dlen >= 1 && buf[0] != '\r') {
crypto/openssh/channels.c
2314
force = c->isatty && c->detach_close && c->istate != CHAN_INPUT_CLOSED;
crypto/openssh/channels.c
435
if ((c->isatty = is_tty) != 0)
crypto/openssh/channels.c
439
c->wfd_isatty = is_tty || isatty(c->wfd);
crypto/openssh/channels.c
451
if (rfd != -1 && !isatty(rfd) &&
crypto/openssh/channels.c
457
if (wfd != -1 && !isatty(wfd) &&
crypto/openssh/channels.c
463
if (efd != -1 && !isatty(efd) &&
crypto/openssh/channels.h
142
int isatty; /* rfd is a tty */
crypto/openssh/readpass.c
149
if (!isatty(STDIN_FILENO)) {
crypto/openssh/readpass.c
255
if (!force_askpass && isatty(STDERR_FILENO)) {
crypto/openssh/scp.c
654
if (!isatty(STDOUT_FILENO))
crypto/openssh/sftp.c
2221
if (!batchmode && isatty(STDIN_FILENO)) {
crypto/openssh/sftp.c
2292
interactive = !batchmode && isatty(STDIN_FILENO);
crypto/openssh/sftp.c
2602
if (!isatty(STDERR_FILENO))
crypto/openssh/ssh.c
1411
if ((!isatty(fileno(stdin)) || options.stdin_null) &&
games/hunt/hunt/display.c
69
if (!isatty(0) || (term = getenv("TERM")) == NULL)
games/phantasia/main.c
133
if (!isatty(0)) /* don't let non-tty's play */
games/rogue/pack.c
268
if (!isatty(0) || !isatty(1))
games/wump/wump.c
733
if (!isatty(STDOUT_FILENO))
include/unistd.h
403
int isatty(int);
lib/libc/gen/ttyname.c
76
if (!isatty(fd))
lib/libc/stdio/makebuf.c
78
if (couldbetty && isatty(fp->pub._fileno))
lib/libevtr/ktrfmt.yy.c
1469
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
lib/libtcplay/io.c
402
int is_tty = isatty(fd);
libexec/utmp_update/utmp_update.c
133
if (!isatty(fd))
libexec/ypxfr/ypxfr_main.c
181
if (!isatty(fileno(stderr))) {
sbin/camcontrol/modeedit.c
720
if (!isatty(fileno(stdin))) {
sbin/ip6fw/ip6fw.c
1177
do_force = !isatty(STDIN_FILENO);
sbin/ipfw/ipfw2.c
3996
do_force = !isatty(STDIN_FILENO);
sbin/ipfw3/ipfw3.c
961
do_force = !isatty(STDIN_FILENO);
sbin/routed/trace.c
191
if (isatty(STDIN_FILENO))
sbin/routed/trace.c
193
if (isatty(STDOUT_FILENO))
sbin/routed/trace.c
195
if (isatty(STDERR_FILENO))
sbin/vinum/commands.c
280
if (! isatty (STDIN_FILENO)) {
usr.bin/bc/bc.y
1131
interactive = isatty(STDIN_FILENO);
usr.bin/compress/compress.c
373
if (!isatty(fileno(stderr)))
usr.bin/fetch/fetch.c
1165
v_tty = isatty(STDERR_FILENO);
usr.bin/gzip/gzip.c
1111
else if (isatty(STDIN_FILENO)) {
usr.bin/gzip/gzip.c
1596
if (fflag == 0 && lflag == 0 && isatty(STDIN_FILENO)) {
usr.bin/gzip/gzip.c
1682
if (fflag == 0 && isatty(STDOUT_FILENO)) {
usr.bin/m4/manual_tokenizer.c
1382
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
usr.bin/mail/main.c
66
if (isatty(0))
usr.bin/ministat/ministat.c
547
if (isatty(STDOUT_FILENO)) {
usr.bin/msgs/msgs.c
347
if (isatty(fileno(stdin))) {
usr.bin/msgs/msgs.c
386
totty = (isatty(fileno(stdout)) != 0);
usr.bin/ncal/ncal.c
1126
if (isatty(STDOUT_FILENO) && tgetent(tbuf, NULL) == 1) {
usr.bin/ncal/ncal.c
836
&& isatty(STDOUT_FILENO))
usr.bin/nohup/nohup.c
71
if (isatty(STDOUT_FILENO))
usr.bin/nohup/nohup.c
73
if (isatty(STDERR_FILENO) && dup2(STDOUT_FILENO, STDERR_FILENO) == -1)
usr.bin/pr/pr.c
143
isatty(STDOUT_FILENO)) {
usr.bin/pr/pr.c
1571
if (isatty(fileno(stdout))) {
usr.bin/script/script.c
150
if ((ttyflg = isatty(STDIN_FILENO)) != 0) {
usr.bin/talk/get_names.c
63
if (!isatty(0))
usr.bin/telnet/sys_bsd.c
1112
if ((c == 0) && MODE_LOCAL_CHARS(globalmode) && isatty(tin)) {
usr.bin/tftp/main.c
585
vrbose = isatty(0);
usr.bin/tip/tip.c
92
if (!isatty(0))
usr.bin/ul/ul.c
104
if (termtype == NULL || (argv[0][0] == 'c' && !isatty(1)))
usr.bin/unzip/unzip.c
1020
if (isatty(STDOUT_FILENO))
usr.bin/write/write.c
73
if (isatty(fileno(stdin)))
usr.bin/write/write.c
75
else if (isatty(fileno(stdout)))
usr.bin/write/write.c
77
else if (isatty(fileno(stderr)))
usr.sbin/cdcontrol/cdcontrol.c
263
verbose = isatty (0);
usr.sbin/cron/crontab/crontab.c
266
if (isatty(STDIN_FILENO)) {
usr.sbin/fdwrite/fdwrite.c
109
if (!isatty(1))
usr.sbin/lpr/lpc/lpc.c
110
fromatty = isatty(fileno(stdin));
usr.sbin/lpr/lpd/printjob.c
1768
if (isatty(pfd))
usr.sbin/ngctl/main.c
114
int interactive = isatty(0) && isatty(1);
usr.sbin/ppp/tty.c
675
if (p->fd < 0 || !isatty(p->fd))
usr.sbin/pw/pw_group.c
182
int istty = isatty(fd);
usr.sbin/pw/pw_user.c
1056
if (isatty(STDOUT_FILENO))
usr.sbin/pw/pw_user.c
614
int istty = isatty(fd);
usr.sbin/syslogd/syslogd.c
1976
if (isatty(f->f_file)) {
usr.sbin/watch/watch.c
294
if (isatty(std_out))