Removed isatty() since we are now using newlib's implementation as

a result of enabling the newlib POSIX directory.
This commit is contained in:
Joel Sherrill
1998-04-03 18:45:42 +00:00
parent a456074d78
commit b82c9578f4
6 changed files with 0 additions and 23 deletions
@@ -97,7 +97,6 @@ int __rtems_write(int fd, const void *buffer, unsigned32 count);
int __rtems_ioctl(int fd, unsigned32 command, void *buffer);
int __rtems_lseek(int fd, rtems_libio_offset_t offset, int whence);
int __rtems_fstat(int _fd, struct stat* _sbuf);
int __rtems_isatty(int _fd);
/*
* External I/O handlers
-1
View File
@@ -97,7 +97,6 @@ int __rtems_write(int fd, const void *buffer, unsigned32 count);
int __rtems_ioctl(int fd, unsigned32 command, void *buffer);
int __rtems_lseek(int fd, rtems_libio_offset_t offset, int whence);
int __rtems_fstat(int _fd, struct stat* _sbuf);
int __rtems_isatty(int _fd);
/*
* External I/O handlers
-1
View File
@@ -97,7 +97,6 @@ int __rtems_write(int fd, const void *buffer, unsigned32 count);
int __rtems_ioctl(int fd, unsigned32 command, void *buffer);
int __rtems_lseek(int fd, rtems_libio_offset_t offset, int whence);
int __rtems_fstat(int _fd, struct stat* _sbuf);
int __rtems_isatty(int _fd);
/*
* External I/O handlers
-10
View File
@@ -53,16 +53,6 @@ close(int fd)
return __rtems_close(fd);
}
/*
* isatty -- returns 1 if connected to a terminal device,
* returns 0 if not.
*/
int
isatty(int fd)
{
return __rtems_isatty(fd);
}
/*
* lseek -- move read/write pointer. Since a serial port
* is non-seekable, we return an error.
-9
View File
@@ -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 )
{
-1
View File
@@ -97,7 +97,6 @@ int __rtems_write(int fd, const void *buffer, unsigned32 count);
int __rtems_ioctl(int fd, unsigned32 command, void *buffer);
int __rtems_lseek(int fd, rtems_libio_offset_t offset, int whence);
int __rtems_fstat(int _fd, struct stat* _sbuf);
int __rtems_isatty(int _fd);
/*
* External I/O handlers