From dcec5a4d60405c206b1fab8630534e917fdf9857 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 Jan 1997 00:29:25 +0000 Subject: Merged newlib's libgloss support for rtems into this directory. This should simplify the build process. --- cpukit/libcsupport/include/rtems/libio.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'cpukit/libcsupport/include') diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index 07d72620b1..b518100484 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -13,6 +13,8 @@ #ifndef _RTEMS_LIBIO_H #define _RTEMS_LIBIO_H +#include + typedef unsigned32 rtems_libio_offset_t; /* @@ -88,11 +90,13 @@ typedef struct { void rtems_libio_config(rtems_configuration_table *config, unsigned32 max_fds); void rtems_libio_init(void); -int __open(const char *pathname, unsigned32 flag, unsigned32 mode); -int __close(int fd); -int __read(int fd, void *buffer, unsigned32 count); -int __write(int fd, const void *buffer, unsigned32 count); -int __ioctl(int fd, unsigned32 command, void *buffer); -int __lseek(int fd, rtems_libio_offset_t offset, int whence); +int __rtems_open(const char *pathname, unsigned32 flag, unsigned32 mode); +int __rtems_close(int fd); +int __rtems_read(int fd, void *buffer, unsigned32 count); +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); #endif /* _RTEMS_LIBIO_H */ -- cgit v1.2.3