summaryrefslogtreecommitdiff
path: root/os/src/isatty.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-01-28 00:35:56 -0800
committerPixel <pixel@nobis-crew.org>2011-01-28 00:35:56 -0800
commitc8a010ba85e8325fdbf7468ef49744ff1f09f213 (patch)
treeaf7ef6d67d0cf47faef0c8bc339aeb75cedc139d /os/src/isatty.c
parentf3906ecc2cacaf75efa1e54f453ff723cddd3d66 (diff)
Adding a few more 'syscalls' to our libc.
Diffstat (limited to 'os/src/isatty.c')
-rw-r--r--os/src/isatty.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/src/isatty.c b/os/src/isatty.c
new file mode 100644
index 0000000..baf78e4
--- /dev/null
+++ b/os/src/isatty.c
@@ -0,0 +1,8 @@
+#include <unistd.h>
+#include <reent.h>
+#include "osdebug.h"
+
+int _isatty_r(struct _reent * ptr, int fildes) {
+ DBGOUT("_isatty_r(%p, %d)\r\n", ptr, fildes);
+ return 0;
+}