From 61ba39a23786a7ae9694705af1d146c00a319144 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sat, 5 Feb 2011 04:35:27 +0100 Subject: Getting rid of newlib, starting to implement a libc. Highly experimental, highly untested. --- os/src/isatty.c | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 os/src/isatty.c (limited to 'os/src/isatty.c') 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 -#include -#include -#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; -} -- cgit v1.2.3