This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[patch] sh _isatty
- From: DJ Delorie <dj at redhat dot com>
- To: newlib at sourceware dot org
- Date: Mon, 21 Jan 2008 18:27:21 -0500
- Subject: [patch] sh _isatty
This got missed in the grand isatty renaming. Ok?
* libc/sys/sh/syscalls.c (_isatty): New.
Index: newlib/libc/sys/sh/syscalls.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/sys/sh/syscalls.c,v
retrieving revision 1.6
diff -p -U3 -r1.6 syscalls.c
--- newlib/libc/sys/sh/syscalls.c 6 Jul 2007 16:56:30 -0000 1.6
+++ newlib/libc/sys/sh/syscalls.c 21 Jan 2008 23:25:22 -0000
@@ -99,6 +99,13 @@ isatty (fd)
return 1;
}
+_isatty (fd)
+ int fd;
+{
+ return 1;
+}
+
+
_exit (n)
{
return __trap34 (SYS_exit, n, 0, 0);