Firmwares/hello-world/bsp/libwrap/sys/isatty.c

12 lines
167 B
C
Raw Normal View History

2018-09-25 18:31:29 +02:00
/* See LICENSE of license details. */
#include <unistd.h>
int __wrap_isatty(int fd)
{
if (fd == STDOUT_FILENO || fd == STDERR_FILENO)
return 1;
return 0;
}