mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
9087163804
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
15 lines
196 B
C
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
|
|
}
|