Retro68/gcc/newlib/libc/syscalls/sysisatty.c
Wolfgang Thaller ec13cc9ce7 fix newlib
2018-12-29 09:59:36 +01:00

15 lines
196 B
C

/* connector for isatty */
#include <reent.h>
#include <unistd.h>
int
isatty (int fd)
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _isatty_r (_REENT, fd);
#else
return _isatty (fd);
#endif
}