open-story-teller/firmware/cpu/gigadevice-gd32vf103/RISCV/stubs/isatty.c

12 lines
161 B
C
Executable file

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