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