|
Wheefun I/O Library
0.0.5
Useful I/O Primitives.
|
I/O type declarations. More...
#include <stddef.h>Go to the source code of this file.
Classes | |
| struct | wfio::IOShare |
| An IO sharing mode. More... | |
| struct | wfio::DCntl |
| A command to be supplied to a device or similar stream. More... | |
Namespaces | |
| wfio | |
| The root namespace for WFIO. | |
Typedefs | |
| typedef enum wfio_whence_t | wfio_whence_t |
| The type corresponding to the point of reference in a seek operation. | |
| typedef enum wfio_openflag_t | wfio_openflag_t |
| A single flag for a wfio_openmode_t;. | |
| typedef int | wfio_openmode_t |
| The type corresponding to an openmode. | |
| typedef int | wfio_fd_t |
| The type corresponding a file descriptor. | |
| typedef enum wfio_peer_type_t | wfio_peer_type_t |
| The type associated with a peer. | |
| typedef int | wfio_ioshare_t |
| An I/O sharing mode. | |
| typedef ::wfio_off_t | wfio::off_t |
| An integer corresponding to a device offset. More... | |
| typedef ::wfio_fd_t | wfio::fd_t |
| The type corresponding a file descriptor. More... | |
Variables | |
| WFIO_C_BEGIN typedef long int | wfio_off_t |
| An integer corresponding to a device offset. | |
I/O type declarations.
This header declares basic I/O types.
| anonymous enum |
| enum wfio_dcntl_t |
A command to be supplied to a device or similar stream.
These commands provide device-independent control of a stream. This is used to implement commands which can be shared between multiple devices.
| enum wfio_openflag_t |
A single flag for a wfio_openmode_t;.
| Enumerator | |
|---|---|
| WFIO_OPEN_READ | The stream should be readable. |
| WFIO_OPEN_WRITE | The stream should be writable. |
| WFIO_OPEN_APPEND | The stream should allow files to be appended. |
| WFIO_OPEN_CREATE | The stream should be created if it doesn't exist. |
| WFIO_OPEN_TRUNCATE | The stream should truncate on open. |
| WFIO_OPEN_NONBLOCK | The stream should be non-blocking. |
| WFIO_OPEN_NOTEXIST | The stream should point to a resource that does not yet exist. |
| WFIO_OPEN_EXCL | Synonymous with WFIO_OPEN_NOTEXIST |
| WFIO_OPEN_RW | The stream is both readable and writable. This is synonymous with |
| enum wfio_peer_type_t |
| enum wfio_whence_t |
The type corresponding to the point of reference in a seek operation.
| Enumerator | |
|---|---|
| WFIO_SEEK_SET | The seek operation is relative to the beginning of the stream. |
| WFIO_SEEK_CUR | The seek operation is relative to the current position in the stream. |
| WFIO_SEEK_END | The seek operation is relative to the end of the stream. |
1.8.13