mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-28 15:00:08 +00:00
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
|
||
|
}
|