![]() |
RTEMS 6.3
|
FIFO/Pipe Support. More...
#include <sys/param.h>#include <sys/filio.h>#include <errno.h>#include <stdlib.h>#include <string.h>#include <rtems.h>#include <rtems/libio_.h>#include <rtems/pipe.h>Macros | |
| #define | LIBIO_ACCMODE(_iop) |
| #define | LIBIO_NODELAY(_iop) |
| #define | PIPE_EMPTY(_pipe) |
| #define | PIPE_FULL(_pipe) |
| #define | PIPE_SPACE(_pipe) |
| #define | PIPE_WSTART(_pipe) |
| #define | PIPE_LOCK(_pipe) |
| #define | PIPE_UNLOCK(_pipe) |
| #define | PIPE_READWAIT(_pipe) |
| #define | PIPE_WRITEWAIT(_pipe) |
| #define | PIPE_WAKEUPREADERS(_pipe) |
| #define | PIPE_WAKEUPWRITERS(_pipe) |
Functions | |
| void | pipe_release (pipe_control_t **pipep, rtems_libio_t *iop) |
| Release a pipe. | |
| int | fifo_open (pipe_control_t **pipep, rtems_libio_t *iop) |
| File system open. Interface to file system open. | |
| ssize_t | pipe_read (pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop) |
| File system read. | |
| ssize_t | pipe_write (pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop) |
| File system write. | |
| int | pipe_ioctl (pipe_control_t *pipe, ioctl_command_t cmd, void *buffer, rtems_libio_t *iop) |
| File system Input/Output control. | |
FIFO/Pipe Support.
| #define LIBIO_ACCMODE | ( | _iop | ) |
| #define LIBIO_NODELAY | ( | _iop | ) |
| #define PIPE_EMPTY | ( | _pipe | ) |
| #define PIPE_FULL | ( | _pipe | ) |
| #define PIPE_LOCK | ( | _pipe | ) |
| #define PIPE_READWAIT | ( | _pipe | ) |
| #define PIPE_SPACE | ( | _pipe | ) |
| #define PIPE_UNLOCK | ( | _pipe | ) |
| #define PIPE_WAKEUPREADERS | ( | _pipe | ) |
| #define PIPE_WAKEUPWRITERS | ( | _pipe | ) |
| #define PIPE_WRITEWAIT | ( | _pipe | ) |
| #define PIPE_WSTART | ( | _pipe | ) |