summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-06 18:09:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-06 18:09:15 +0000
commit3ef87981ebac62a3df5af981e8f62f151d973074 (patch)
tree9216b95a01e1df2725be70a70b339fba1c6eb4a8 /cpukit/libcsupport/include
parentWrong constant name was used for the DEBUG exception. (diff)
downloadrtems-3ef87981ebac62a3df5af981e8f62f151d973074.tar.bz2
Added F_GETFL support so the fdopen() implementation in newlib 1.8.1
would work. At the same time, the initial implementation of F_SETFL was added. A support routine was added to convert internal libio flags back to the POSIX style. Eventually the internal representation should be eliminated in the interest of simplicity and code reduction. This problem was reported by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>.
Diffstat (limited to 'cpukit/libcsupport/include')
-rw-r--r--cpukit/libcsupport/include/rtems/libio_.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h
index 16dc708f53..e14f63c287 100644
--- a/cpukit/libcsupport/include/rtems/libio_.h
+++ b/cpukit/libcsupport/include/rtems/libio_.h
@@ -221,6 +221,10 @@ unsigned32 rtems_libio_fcntl_flags(
unsigned32 fcntl_flags
);
+unsigned32 rtems_libio_to_fcntl_flags(
+ unsigned32 flags
+);
+
void rtems_libio_free(
rtems_libio_t *iop
);