Symbol: isatty
bin/ed/main.c
131
if (isatty(0)) signal(SIGWINCH, handle_winch);
bin/ed/main.c
148
if (read_file(*argv, 0) < 0 && !isatty(0))
bin/ed/main.c
158
if (!isatty(0))
bin/ed/main.c
176
if (!isatty(0)) {
bin/ed/main.c
210
if (!isatty(0)) {
bin/ed/main.c
218
if (!isatty(0)) {
bin/ed/main.c
227
if (!isatty(0)) {
bin/ls/ls.c
188
(isatty(STDOUT_FILENO) || getenv("CLICOLOR_FORCE")));
bin/ls/ls.c
247
if (isatty(STDOUT_FILENO)) {
bin/mv/mv.c
187
} else if (access(to, W_OK) && !stat(to, &sb) && isatty(STDIN_FILENO)) {
bin/rm/rm.c
148
stdin_ok = isatty(STDIN_FILENO);
bin/sh/histedit.c
167
if (editing && !el && isatty(0)) { /* && isatty(2) ??? */
bin/sh/jobs.c
184
while (i <= 2 && !isatty(i))
bin/sh/miscbltin.c
217
if (prompt && isatty(0)) {
bin/sh/options.c
95
if (iflag != 0 && sflag == 1 && isatty(0) && isatty(1)) {
bin/stty/util.c
52
if (isatty(STDOUT_FILENO) && isatty(STDERR_FILENO) &&
bin/test/test.c
306
return isatty(getn(*++t_wp));
crypto/heimdal/appl/ftp/ftp/main.c
128
fromatty = isatty(fileno(stdin));
crypto/heimdal/appl/rsh/rshd.c
872
if(isatty(STDIN_FILENO))
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
953
if ((c == 0) && MODE_LOCAL_CHARS(globalmode) && isatty(tin)) {
crypto/heimdal/lib/asn1/lex.c
2254
extern int isatty (int );
crypto/heimdal/lib/asn1/lex.c
2280
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
crypto/heimdal/lib/com_err/lex.c
1389
extern int isatty (int );
crypto/heimdal/lib/com_err/lex.c
1415
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
crypto/heimdal/lib/sl/slc-lex.c
1326
extern int isatty (int );
crypto/heimdal/lib/sl/slc-lex.c
1352
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
crypto/krb5/src/clients/kinit/kinit.c
865
if (!isatty(fileno(stdin)))
crypto/krb5/src/clients/kinit/kinit.c
867
if (!isatty(fileno(stdout)))
crypto/krb5/src/clients/kinit/kinit.c
869
if (!isatty(fileno(stderr)))
crypto/krb5/src/lib/krb5/os/prompter.c
169
if (!isatty(fd)) {
crypto/krb5/src/lib/krb5/os/prompter.c
198
if (isatty(fd)) {
crypto/openssh/channels.c
1082
c->isatty ? "T" : (c->remote_has_tty ? "RT" : ""),
crypto/openssh/channels.c
2198
pty_zeroread = c->isatty;
crypto/openssh/channels.c
2201
force = c->isatty && c->detach_close && c->istate != CHAN_INPUT_CLOSED;
crypto/openssh/channels.c
2340
if (c->isatty && dlen >= 1 && buf[0] != '\r') {
crypto/openssh/channels.c
2399
force = c->isatty && c->detach_close && c->istate != CHAN_INPUT_CLOSED;
crypto/openssh/channels.c
362
const int has_tty = c->isatty || c->remote_has_tty;
crypto/openssh/channels.c
457
if ((c->isatty = is_tty) != 0)
crypto/openssh/channels.c
461
c->wfd_isatty = is_tty || isatty(c->wfd);
crypto/openssh/channels.c
473
if (rfd != -1 && !isatty(rfd) &&
crypto/openssh/channels.c
479
if (wfd != -1 && !isatty(wfd) &&
crypto/openssh/channels.c
485
if (efd != -1 && !isatty(efd) &&
crypto/openssh/channels.h
150
int isatty; /* rfd is a tty */
crypto/openssh/readpass.c
146
if (!isatty(STDIN_FILENO)) {
crypto/openssh/readpass.c
252
if (!force_askpass && isatty(STDERR_FILENO)) {
crypto/openssh/scp.c
634
if (!isatty(STDOUT_FILENO))
crypto/openssh/sftp.c
2243
if (!batchmode && isatty(STDIN_FILENO)) {
crypto/openssh/sftp.c
2313
interactive = !batchmode && isatty(STDIN_FILENO);
crypto/openssh/sftp.c
2628
if (!isatty(STDERR_FILENO))
crypto/openssh/ssh.c
1391
if ((!isatty(fileno(stdin)) || options.stdin_null) &&
crypto/openssl/apps/req.c
566
else if (!newreq && isatty(fileno_stdin()))
crypto/openssl/apps/x509.c
794
if (infile == NULL && isatty(fileno_stdin()))
crypto/openssl/apps/x509.c
845
if (infile == NULL && isatty(fileno_stdin()))
crypto/openssl/crypto/bio/bss_file.c
257
if (isatty(fd) <= 0)
include/unistd.h
355
int isatty(int);
lib/libc/gen/ttyname.c
68
if (!isatty(fd))
lib/libc/stdio/makebuf.c
77
if (couldbetty && isatty(fp->_file))
lib/libc/tests/gen/fts_test.h
35
isatty(STDERR_FILENO);
lib/libc/tests/secure/fortify_unistd_test.c
1982
if (!isatty(fd))
lib/libc/tests/secure/fortify_unistd_test.c
2008
if (!isatty(fd))
lib/libc/tests/secure/fortify_unistd_test.c
2034
if (!isatty(fd))
lib/libc/tests/secure/fortify_unistd_test.c
2062
if (!isatty(fd))
lib/libc/tests/secure/fortify_unistd_test.c
2092
if (!isatty(fd))
lib/libc/tests/stdlib/qsort_bench.c
110
isatty(STDERR_FILENO);
lib/libc/tests/stdtime/detect_tz_changes_test.c
465
isatty(STDERR_FILENO);
libexec/ypxfr/ypxfr_main.c
179
if (!isatty(fileno(stderr))) {
sbin/bectl/bectl.c
296
if (isatty(STDOUT_FILENO)) {
sbin/bectl/bectl.c
325
if (isatty(STDIN_FILENO)) {
sbin/camcontrol/modeedit.c
946
if (!isatty(fileno(stdin))) {
sbin/ipfw/main.c
241
g_co.do_force = !isatty(STDIN_FILENO);
sbin/routed/trace.c
192
if (isatty(STDIN_FILENO))
sbin/routed/trace.c
194
if (isatty(STDOUT_FILENO))
sbin/routed/trace.c
196
if (isatty(STDERR_FILENO))
sys/dev/aic7xxx/aicasm/aicasm.c
588
if (isatty(fileno(stdin)) == 0)
tools/build/bootstrap-m4/inittokenizer.c
1398
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
usr.bin/ar/acpyacc.y
647
interactive = isatty(fileno(stdin));
usr.bin/compress/compress.c
385
if (!isatty(fileno(stderr)))
usr.bin/diff/diff.c
672
return isatty(STDOUT_FILENO);
usr.bin/fetch/fetch.c
1138
v_tty = isatty(STDERR_FILENO);
usr.bin/grep/grep.c
582
if (isatty(STDOUT_FILENO) && term != NULL &&
usr.bin/gzip/gzip.c
1149
else if (isatty(STDIN_FILENO)) {
usr.bin/gzip/gzip.c
1757
if (fflag == 0 && lflag == 0 && isatty(STDIN_FILENO)) {
usr.bin/gzip/gzip.c
1864
if (fflag == 0 && isatty(STDOUT_FILENO)) {
usr.bin/lex/initscan.c
4739
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
usr.bin/mail/main.c
105
if (isatty(0))
usr.bin/ministat/ministat.c
570
if (isatty(STDOUT_FILENO)) {
usr.bin/msgs/msgs.c
345
if (isatty(fileno(stdin))) {
usr.bin/msgs/msgs.c
384
totty = (isatty(fileno(stdout)) != 0);
usr.bin/ncal/ncal.c
1131
if (isatty(STDOUT_FILENO) && tgetent(tbuf, NULL) == 1) {
usr.bin/ncal/ncal.c
219
flag_highlight = isatty(STDOUT_FILENO);
usr.bin/nohup/nohup.c
69
if (isatty(STDOUT_FILENO))
usr.bin/nohup/nohup.c
71
if (isatty(STDERR_FILENO) && dup2(STDOUT_FILENO, STDERR_FILENO) == -1)
usr.bin/pr/pr.c
145
isatty(STDOUT_FILENO)) {
usr.bin/pr/pr.c
1599
if (isatty(fileno(stdout))) {
usr.bin/talk/get_names.c
67
if (!isatty(0))
usr.bin/tftp/main.c
176
interactive = isatty(STDIN_FILENO);
usr.bin/tip/tip/tip.c
75
if (!isatty(0)) {
usr.bin/ul/ul.c
104
if (termtype == NULL || (argv[0][0] == 'c' && !isatty(1)))
usr.bin/vmstat/vmstat.c
216
hflag = isatty(1);
usr.bin/vmstat/vmstat.c
665
if (isatty(fileno(stdout)) != 0) {
usr.bin/write/write.c
134
if (isatty(fileno(stdin)))
usr.bin/write/write.c
136
else if (isatty(fileno(stdout)))
usr.bin/write/write.c
138
else if (isatty(fileno(stderr)))
usr.sbin/bhyve/snapshot.c
673
if (isatty(STDIN_FILENO) && (winsize.ws_col != 0))
usr.sbin/bhyve/uart_backend.c
392
if (!isatty(fd)) {
usr.sbin/cdcontrol/cdcontrol.c
269
verbose = isatty (0);
usr.sbin/cron/crontab/crontab.c
275
if (!fflag && isatty(STDIN_FILENO)) {
usr.sbin/fdwrite/fdwrite.c
104
if (!isatty(1))
usr.sbin/gstat/gstat.c
403
if (!isatty(fileno(stdout)))
usr.sbin/iostat/iostat.c
445
if (isatty(fileno(stdout)) != 0) {
usr.sbin/lpr/lpc/lpc.c
110
fromatty = isatty(fileno(stdin));
usr.sbin/lpr/lpd/printjob.c
1904
if (isatty(pfd))
usr.sbin/mtest/mtest.c
218
if (isatty(STDIN_FILENO)) {
usr.sbin/ngctl/main.c
145
int interactive = isatty(0) && isatty(1);
usr.sbin/pkg/pkg.c
1241
if (!isatty(fileno(stdin))) {
usr.sbin/pmc/display.cc
201
if (isatty(STDOUT_FILENO) == 0) {
usr.sbin/pmcstat/pmcstat.c
1185
if (isatty(fileno(args.pa_printfile))) {
usr.sbin/ppp/tty.c
681
if (p->fd < 0 || !isatty(p->fd))
usr.sbin/pw/pw_group.c
64
if ((istty = isatty(fd))) {
usr.sbin/pw/pw_user.c
182
if ((istty = isatty(fd))) {
usr.sbin/pw/pw_user.c
528
if (isatty(STDOUT_FILENO))
usr.sbin/syslogd/syslogd.c
3251
if (isatty(f->f_file)) {
usr.sbin/watch/watch.c
290
if (isatty(std_out))