summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/libcsupport/include/rtems/libio.h1
-rw-r--r--c/src/lib/include/rtems/libio.h1
-rw-r--r--c/src/lib/libc/libio.h1
-rw-r--r--cpukit/libcsupport/include/rtems/libio.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/libio.h b/c/src/exec/libcsupport/include/rtems/libio.h
index 3cc4648863..d5255769e6 100644
--- a/c/src/exec/libcsupport/include/rtems/libio.h
+++ b/c/src/exec/libcsupport/include/rtems/libio.h
@@ -452,6 +452,7 @@ typedef int (*rtems_libio_lseek_t)(
#define RTEMS_IO_GET_ATTRIBUTES 1
#define RTEMS_IO_SET_ATTRIBUTES 2
#define RTEMS_IO_TCDRAIN 3
+#define FIONREAD 4
/*
* The following macros are used to build up the permissions sets
diff --git a/c/src/lib/include/rtems/libio.h b/c/src/lib/include/rtems/libio.h
index 3cc4648863..d5255769e6 100644
--- a/c/src/lib/include/rtems/libio.h
+++ b/c/src/lib/include/rtems/libio.h
@@ -452,6 +452,7 @@ typedef int (*rtems_libio_lseek_t)(
#define RTEMS_IO_GET_ATTRIBUTES 1
#define RTEMS_IO_SET_ATTRIBUTES 2
#define RTEMS_IO_TCDRAIN 3
+#define FIONREAD 4
/*
* The following macros are used to build up the permissions sets
diff --git a/c/src/lib/libc/libio.h b/c/src/lib/libc/libio.h
index 3cc4648863..d5255769e6 100644
--- a/c/src/lib/libc/libio.h
+++ b/c/src/lib/libc/libio.h
@@ -452,6 +452,7 @@ typedef int (*rtems_libio_lseek_t)(
#define RTEMS_IO_GET_ATTRIBUTES 1
#define RTEMS_IO_SET_ATTRIBUTES 2
#define RTEMS_IO_TCDRAIN 3
+#define FIONREAD 4
/*
* The following macros are used to build up the permissions sets
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h
index 3cc4648863..d5255769e6 100644
--- a/cpukit/libcsupport/include/rtems/libio.h
+++ b/cpukit/libcsupport/include/rtems/libio.h
@@ -452,6 +452,7 @@ typedef int (*rtems_libio_lseek_t)(
#define RTEMS_IO_GET_ATTRIBUTES 1
#define RTEMS_IO_SET_ATTRIBUTES 2
#define RTEMS_IO_TCDRAIN 3
+#define FIONREAD 4
/*
* The following macros are used to build up the permissions sets