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.c264 is_tty(int fd) in is_tty() function
287 const bool ret = is_tty(STDIN_FILENO); in is_tty_stdin()
300 const bool ret = is_tty(STDOUT_FILENO); in is_tty_stdout()
H A Dutil.h118 extern bool is_tty(int fd);
H A Dmessage.c122 progress_automatic = is_tty(STDERR_FILENO); in message_init()
/freebsd/contrib/less/
H A Dmain.c24 public int is_tty; variable
120 is_tty = isatty(1); in main()
228 if (!is_tty) in main()
H A Doutput.c32 extern int is_tty;
430 if (c == '\n' && is_tty) in putchr()
437 if (c == '\n' && is_tty) /* In OS-9, '\n' == 0x0D */ in putchr()
H A Dedit.c27 extern int is_tty;
624 if (namelogfile != NULL && is_tty) in edit_ifile()
649 if (is_tty) in edit_ifile()
H A Doptfunc.c39 extern int is_tty;
1076 is_tty = 1; in opt_ttyin_name()
H A Dscreen.c293 extern int is_tty;
1844 return (is_tty && init_done); in interactive()
/freebsd/crypto/openssh/
H A Dchannels.c425 int extusage, int nonblock, int is_tty) in channel_register_fds() argument
442 if ((c->isatty = is_tty) != 0) in channel_register_fds()
446 c->wfd_isatty = is_tty || isatty(c->wfd); in channel_register_fds()
1230 int extusage, int nonblock, int is_tty, u_int window_max) in channel_set_fds() argument
1240 channel_register_fds(ssh, c, rfd, wfd, efd, extusage, nonblock, is_tty); in channel_set_fds()
H A Dsession.c2270 int fdin, int fdout, int fderr, int ignore_fderr, int is_tty) in session_set_fds() argument
2281 1, is_tty, CHAN_SES_WINDOW_DEFAULT); in session_set_fds()
/freebsd/contrib/xz/
H A DChangeLog6315 xz: Use is_tty() in message.c.
6324 xz: Create separate is_tty() function.
6326 The new is_tty() will report if a file descriptor is a terminal or not.
6329 devices, not just terminals. So is_tty() has a special case for Windows