Fork自 RT-Thread / rt-thread
体验新版 GitCode,发现更多精彩内容 >>
/* See LICENSE of license details. */ #include <unistd.h> int _isatty(int fd) { if (fd == STDOUT_FILENO || fd == STDERR_FILENO) return 1; return 0; }