diff options
Diffstat (limited to 'os/src/isatty.c')
-rw-r--r-- | os/src/isatty.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/os/src/isatty.c b/os/src/isatty.c deleted file mode 100644 index b37a9dc..0000000 --- a/os/src/isatty.c +++ /dev/null @@ -1,15 +0,0 @@ -#include <unistd.h> -#include <reent.h> -#include <errno.h> -#include "fio.h" -#include "osdebug.h" - -int _isatty_r(struct _reent * reent, int fd) { -// DBGOUT("_isatty_r(%p, %i)\r\n", reent, fd); - if (!fio_is_open(fd)) { - reent->_errno = EBADF; - return 0; - } - reent->_errno = EINVAL; - return 0; -} |