The root namespace for WFIO.
Definition: bin.h:879
#define WFIO_DLL
Mark the symbol as an element of the library.
Definition: host.h:397
#define WFIO_C_BEGIN
Definition: host.h:477
#define WFIO_DLL_FASTCALL
Shorthand for WFIO_DLL WFIO_FASTCALL.
Definition: host.h:425
WFIO_DLL_FASTCALL wfio_fd_t wfio_stdio_to_fd(FILE *handle, int *error)
Attempt to convert handle to a file descriptor.
WFIO_C_BEGIN WFIO_DLL struct wfio_device_t * wfio_device_from_stdio(FILE *handle, int *error)
Wrap the device with the given filehandle handle.
int wfio_fd_t
The type corresponding a file descriptor.
Definition: iotype.h:108
A Device wrapping a standard IO device.
Definition: stdio.h:93
A C++ wrapper for a wfio_device_t.
Definition: device.h:783
StdioDevice(FILE *file, int *error=NULL)
Construct a new StdioDevice from a FILE*.
Definition: stdio.h:102
#define WFIO_C_END
Definition: host.h:485
A simple, byte-oriented channel.
Definition: device.h:164
WFIO_DLL_FASTCALL size_t wfio_stdio_getbufsz(FILE *handle, int *error)
Obtain the buffer size associated with this handle.