Firmwares/hifive1-vp/hello/bsp/libwrap/sys/isatty.c
2023-08-20 15:00:51 +02:00

12 lines
167 B
C

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