diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-13 10:24:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-15 10:27:12 +0200 |
commit | bbcdc302cd901e11b5c43527b91ffb5344669338 (patch) | |
tree | f0f01d8881258e89438582ef597ec00bdbb0b378 /cpukit/libcsupport/include/rtems/libio.h | |
parent | libio: Add rtems_libio_iop_flags() (diff) | |
download | rtems-bbcdc302cd901e11b5c43527b91ffb5344669338.tar.bz2 |
libio: Add rtems_libio_iop_is_no_delay()
Update #3132.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index 96d0c29d1e..702ec352b9 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -1380,6 +1380,16 @@ static inline uint32_t rtems_libio_iop_flags( const rtems_libio_t *iop ) } /** + * @brief Returns true if this is a no delay iop, otherwise returns false. + * + * @param[in] iop The iop. + */ +static inline bool rtems_libio_iop_is_no_delay( const rtems_libio_t *iop ) +{ + return ( rtems_libio_iop_flags( iop ) & LIBIO_FLAGS_NO_DELAY ) != 0; +} + +/** * @name External I/O Handlers */ /**@{**/ |