![]() |
RTEMS 6.3
|
Interface to the POSIX FIFO/Pipe File System. More...
Files | |
| file | cpukit/libfs/src/pipe/fifo.c |
| FIFO/Pipe Support. | |
| file | cpukit/libfs/src/pipe/pipe.c |
| Create an Anonymous Pipe. | |
Data Structures | |
| struct | pipe_control |
Typedefs | |
| typedef struct pipe_control | pipe_control_t |
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. | |
Interface to the POSIX FIFO/Pipe File System.
|
extern |
File system open. Interface to file system open.
*pipep points to pipe control structure. If called with *pipep = NULL, fifo_open will try allocating and initializing a control structure. If the call succeeds, *pipep will be set to address of new control structure.
|
extern |
File system Input/Output control.
Interface to file system ioctl.
|
extern |
File system read.
Interface to file system read.
|
extern |
Release a pipe.
Interface to file system close.
*pipep points to pipe control structure. When the last user releases pipe, it will be set to NULL.
|
extern |
File system write.
Interface to file system write.