mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
16 lines
215 B
C
16 lines
215 B
C
/* connector for isatty */
|
|
|
|
#include <reent.h>
|
|
#include <unistd.h>
|
|
|
|
int
|
|
_DEFUN (isatty, (fd),
|
|
int fd)
|
|
{
|
|
#ifdef REENTRANT_SYSCALLS_PROVIDED
|
|
return _isatty_r (_REENT, fd);
|
|
#else
|
|
return _isatty (fd);
|
|
#endif
|
|
}
|