libio: Add rtems_libio_iop_is_no_delay()

Update #3132.
This commit is contained in:
Sebastian Huber
2017-09-13 10:24:25 +02:00
parent e2b1db2311
commit bbcdc302cd
4 changed files with 13 additions and 3 deletions

View File

@@ -32,7 +32,7 @@
#include "pipe.h"
#define LIBIO_ACCMODE(_iop) (rtems_libio_iop_flags(_iop) & LIBIO_FLAGS_READ_WRITE)
#define LIBIO_NODELAY(_iop) ((_iop)->flags & LIBIO_FLAGS_NO_DELAY)
#define LIBIO_NODELAY(_iop) rtems_libio_iop_is_no_delay(_iop)
static rtems_id pipe_semaphore = RTEMS_ID_NONE;