Home
last modified time | relevance | path

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

/freebsd/contrib/xz/src/xz/
H A Dutil.c272 is_tty(int fd) in is_tty() function
295 const bool ret = is_tty(STDIN_FILENO); in is_tty_stdin()
308 const bool ret = is_tty(STDOUT_FILENO); in is_tty_stdout()
H A Dmessage.c122 progress_automatic = is_tty(STDERR_FILENO); in message_init()
/freebsd/contrib/less/
H A Dmain.c32 public int is_tty; variable
297 is_tty = isatty(1); in main()
416 if (!is_tty) in main()
H A Doutput.c30 extern int is_tty;
490 if (c == '\n' && is_tty) in putchr()
497 if (c == '\n' && is_tty) /* In OS-9, '\n' == 0x0D */ in putchr()
H A Dedit.c28 extern int is_tty;
622 if (namelogfile != NULL && is_tty) in edit_ifile()
647 if (is_tty) in edit_ifile()
H A Dos.c100 extern int is_tty;
302 if (is_tty && fd != tty && use_poll && !(quit_if_one_screen && one_screen)) in iread()
H A Doptfunc.c90 extern int is_tty;
1263 is_tty = 1; in opt_ttyin_name()
H A Dscreen.c306 extern int is_tty;
2057 return (is_tty && term_init_done); in interactive()
/freebsd/crypto/openssh/
H A Dchannels.c420 int extusage, int nonblock, int is_tty) in channel_register_fds() argument
437 if ((c->isatty = is_tty) != 0) in channel_register_fds()
441 c->wfd_isatty = is_tty || isatty(c->wfd); in channel_register_fds()
1227 int extusage, int nonblock, int is_tty, u_int window_max) in channel_set_fds() argument
1237 channel_register_fds(ssh, c, rfd, wfd, efd, extusage, nonblock, is_tty); in channel_set_fds()
H A Dsession.c2251 int fdin, int fdout, int fderr, int ignore_fderr, int is_tty) in session_set_fds() argument
2262 1, is_tty, CHAN_SES_WINDOW_DEFAULT); in session_set_fds()
/freebsd/contrib/xz/
H A DChangeLog12628 xz: Use is_tty() in message.c.
12637 xz: Create separate is_tty() function.
12639 The new is_tty() will report if a file descriptor is a terminal or not.
12642 devices, not just terminals. So is_tty() has a special case for Windows