4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 07:39:33 +08:00
2019-07-24 17:03:26 +08:00

11 lines
169 B
C

/* See LICENSE of license details. */
#include <unistd.h>
int _isatty(int fd) {
if (fd == STDOUT_FILENO || fd == STDERR_FILENO)
return 1;
return 0;
}