Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-08-02 23:28:31 +0400
committerJeff Johnston <jjohnstn@redhat.com>2005-08-02 23:28:31 +0400
commit98bfe22095ed82af9932e0559ab1194947fada72 (patch)
tree96b6d761c4c57da82757afb3323b241a92a0bbd7 /libgloss/arm/libcfunc.c
parent0e77a3817f45f0bcadc0665200b143abc1c7c4c0 (diff)
2005-08-02 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (isatty): New function.
Diffstat (limited to 'libgloss/arm/libcfunc.c')
-rw-r--r--libgloss/arm/libcfunc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgloss/arm/libcfunc.c b/libgloss/arm/libcfunc.c
index f684c2526..26f563308 100644
--- a/libgloss/arm/libcfunc.c
+++ b/libgloss/arm/libcfunc.c
@@ -43,6 +43,16 @@ alarm (unsigned seconds)
return 0;
}
+int _isatty(int fildes);
+int __attribute__((weak))
+isatty(int fildes)
+{
+ /* GDB does not yet support the IsTTY SWI that _isatty
+ * calls, so always return true for now. */
+ (void)fildes;
+ return 1;
+}
+
int __attribute__((weak))
pause (void)
{