[patch] sh _isatty
DJ Delorie
dj@redhat.com
Mon Jan 21 23:34:00 GMT 2008
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);
More information about the Newlib
mailing list