summaryrefslogtreecommitdiff
path: root/os/src/isatty.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/src/isatty.c')
-rw-r--r--os/src/isatty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/src/isatty.c b/os/src/isatty.c
index 051284f..b37a9dc 100644
--- a/os/src/isatty.c
+++ b/os/src/isatty.c
@@ -2,8 +2,10 @@
#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;