diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-03 18:45:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-03 18:45:42 +0000 |
commit | b82c9578f4f90fa33b70377830dd5086d1431084 (patch) | |
tree | 79037c907b378b0f25a7f7190495da02ef0ac61e /c/src/lib/libc/syscalls.c | |
parent | Made these have real constants. (diff) | |
download | rtems-b82c9578f4f90fa33b70377830dd5086d1431084.tar.bz2 |
Removed isatty() since we are now using newlib's implementation as
a result of enabling the newlib POSIX directory.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libc/syscalls.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/c/src/lib/libc/syscalls.c b/c/src/lib/libc/syscalls.c index 530e032a40..427b3d979b 100644 --- a/c/src/lib/libc/syscalls.c +++ b/c/src/lib/libc/syscalls.c @@ -71,15 +71,6 @@ int __rtems_fstat(int _fd, struct stat* _sbuf) return 0; } -int __rtems_isatty(int _fd) -{ - struct stat st; - - if (__rtems_fstat(_fd, &st) < 0) - return 0; - return S_ISCHR (st.st_mode); -} - #if !defined(RTEMS_UNIX) int stat( const char *path, struct stat *buf ) { |