1 2 3 4 5 6 7 8 9 10 11
/* See LICENSE of license details. */ #include <unistd.h> int __wrap_isatty(int fd) { if (fd == STDOUT_FILENO || fd == STDERR_FILENO) return 1; return 0; }