summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-13 13:30:30 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-15 10:27:12 +0200
commite2b1db231196e0c395d0e19d9b35c0d7da2a5d3e (patch)
treefea75571834f5a92d667df159c9444ae9231d4e1 /cpukit/libcsupport/include/rtems
parentlibio: Add rtems_libio_iop_flags_initialize() (diff)
downloadrtems-e2b1db231196e0c395d0e19d9b35c0d7da2a5d3e.tar.bz2
libio: Add rtems_libio_iop_flags()
Update #3132.
Diffstat (limited to 'cpukit/libcsupport/include/rtems')
-rw-r--r--cpukit/libcsupport/include/rtems/libio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h
index 99d1565bef..96d0c29d1e 100644
--- a/cpukit/libcsupport/include/rtems/libio.h
+++ b/cpukit/libcsupport/include/rtems/libio.h
@@ -1374,6 +1374,11 @@ typedef struct {
/** @} */
+static inline uint32_t rtems_libio_iop_flags( const rtems_libio_t *iop )
+{
+ return iop->flags;
+}
+
/**
* @name External I/O Handlers
*/