From e2b1db231196e0c395d0e19d9b35c0d7da2a5d3e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 13 Sep 2017 13:30:30 +0200 Subject: libio: Add rtems_libio_iop_flags() Update #3132. --- cpukit/libcsupport/include/rtems/libio.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/libcsupport/include/rtems') 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 */ -- cgit v1.2.3