summaryrefslogtreecommitdiff
path: root/os/src/isatty.c
blob: 69fef645a7ef7591ff799c6ecd3a2773be43e243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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, %d)\r\n", reent, fd);
//    if (!fio_is_open(fd)) {
//        reent->_errno = EBADF;
//        return 0;
//    }
//    reent->_errno = EINVAL;
    return 0;
}