Searched refs:isatty (Results 1 - 25 of 98) sorted by relevance

1234

/external/toybox/toys/posix/
H A Dnohup.c25 if (isatty(1)) {
37 if (isatty(0)) {
H A Drm.c40 if (!(dir && try->again) && ((or && isatty(0)) || (flags & FLAG_i))) {
/external/linux-tools-perf/src/tools/perf/ui/
H A Dsetup.c11 if (use_browser < 2 && (!isatty(1) || dump_trace))
/external/bison/lib/
H A Dbinary-io.h61 # include <unistd.h> /* declares isatty() */
65 # define SET_BINARY(fd) ((void) (!isatty (fd) ? (set_binary_mode (fd, O_BINARY), 0) : 0))
H A Dunistd.in.h87 They also declare access(), chmod(), close(), dup(), dup2(), isatty(),
962 # undef isatty
963 # define isatty rpl_isatty
965 _GL_FUNCDECL_RPL (isatty, int, (int fd));
966 _GL_CXXALIAS_RPL (isatty, int, (int fd));
968 _GL_CXXALIAS_SYS (isatty, int, (int fd));
970 _GL_CXXALIASWARN (isatty);
972 # undef isatty
974 _GL_WARN_ON_USE (isatty, "isatty ha
[all...]
/external/linux-tools-perf/src/tools/perf/util/
H A Dpager.c51 if (!isatty(1))
86 if (isatty(2))
H A Dcolor.c151 stdout_is_tty = isatty(1);
179 if (isatty(1) || pager_in_use())
204 if (isatty(fileno(fp)) || pager_in_use())
/external/lldb/test/
H A Dprogress.py92 if hasattr(self.stdout, 'isatty') and self.stdout.isatty():
124 isatty = hasattr(self.stdout, 'isatty') and self.stdout.isatty()
125 if isatty:
135 if isatty:
/external/e2fsprogs/include/nonunix/
H A Dunistd.h31 #define isatty _isatty macro
/external/squashfs-tools/squashfs-tools/
H A Dprogressbar.c60 if(isatty(STDOUT_FILENO))
111 tty = isatty(STDOUT_FILENO);
186 if(isatty(STDOUT_FILENO))
/external/toybox/toys/other/
H A Dlogin.c156 if (!isatty(0) || !isatty(1) || !isatty(2)) error_exit("no tty");
H A Dmkpasswd.c63 if (isatty(0)) {
/external/lldb/tools/debugserver/source/
H A DTTYState.cpp34 if (fd >= 0 && ::isatty (fd))
/external/e2fsprogs/e2fsck/
H A Discan.c27 extern int isatty(int);
H A Dscantest.c35 extern int isatty(int);
/external/e2fsprogs/lib/et/
H A Dcom_err.c47 if (!isatty(fd))
/external/libvpx/libvpx/
H A Dtools_common.h38 #define isatty _isatty macro
/external/toybox/toys/pending/
H A Dsulogin.c92 if (!isatty(0)) error_exit("%s: it is not a tty", toys.optargs[0]);
/external/toybox/lib/
H A Dinterestingtimes.c12 for (i = 0; i<3; i++) if (isatty(j = (i+1)%3)) return j;
/external/mksh/src/
H A DBuild.sh345 int main(void) { return (isatty(0) +
403 int main(void) { return (isatty(0)); }
444 echo 'int main(void) { return (isatty(0)); }' >>x
1069 int main(void) { return (isatty(0)); }
1257 int main(void) { return (isatty(0)); }
1264 int main(void) { return (isatty(0)); }
1361 int main(void) { return (isatty(0)); }
1575 int main(int ac, char **av) { return (foo(av[ac - 1]) + isatty(0)); }
1588 __attribute__((__unused__))) { return (isatty(0)); }
1600 int main(void) { return (isatty(
[all...]
/external/bison/darwin-lib/
H A Dunistd.h88 They also declare access(), chmod(), close(), dup(), dup2(), isatty(),
1274 # undef isatty
1275 # define isatty rpl_isatty
1277 _GL_FUNCDECL_RPL (isatty, int, (int fd));
1278 _GL_CXXALIAS_RPL (isatty, int, (int fd));
1280 _GL_CXXALIAS_SYS (isatty, int, (int fd));
1282 _GL_CXXALIASWARN (isatty);
1284 # undef isatty macro
1286 _GL_WARN_ON_USE (isatty, "isatty ha
[all...]
/external/bison/linux-lib/
H A Dunistd.h88 They also declare access(), chmod(), close(), dup(), dup2(), isatty(),
1274 # undef isatty
1275 # define isatty rpl_isatty
1277 _GL_FUNCDECL_RPL (isatty, int, (int fd));
1278 _GL_CXXALIAS_RPL (isatty, int, (int fd));
1280 _GL_CXXALIAS_SYS (isatty, int, (int fd));
1282 _GL_CXXALIASWARN (isatty);
1284 # undef isatty macro
1286 _GL_WARN_ON_USE (isatty, "isatty ha
[all...]
/external/toybox/kconfig/
H A Dconf.c506 valid_stdin = isatty(0) && isatty(1) && isatty(2);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cc126 return isatty(fd) != 0;
/external/elfutils/src/lib/
H A Dcolor.c122 = isatty (STDOUT_FILENO) ? color_always : color_never;

Completed in 744 milliseconds

1234