Wheefun I/O Library
0.0.5
Useful I/O Primitives.
|
BeOS Support. More...
Go to the source code of this file.
Classes | |
class | wfio::os::beos::BeOSDevice |
A device wrapping a BeOS IO Object. More... | |
Namespaces | |
wfio | |
The root namespace for WFIO. | |
wfio::os::beos | |
Elements of WFIO related to BeOS. | |
wfio::beos | |
Elements of WFIO related to BeOS. | |
Functions | |
WFIO_C_BEGIN WFIO_CXX_DLL struct wfio_device_t * | wfio_beos_devFromDataIO (BDataIO *io, int *error) |
Open a new device by wrapping a BDataIO instance. More... | |
WFIO_CXX_DLL struct wfio_device_t * | wfio_beos_devFromPositionIO (BPositionIO *io, int *error) |
Open a new device by wrapping a BPositionIO instance. More... | |
WFIO_CXX_DLL struct wfio_device_t * | wfio_beos_devFromBufferIO (BBufferIO *io, int *error) |
Open a new device by wrapping a BBufferIO instance. More... | |
WFIO_CXX_DLL enum wfio_ecode_t | wfio_beos_errorFromNative (int ecode) |
Translate a BeOS error code into a WFIO error. More... | |
inline ::wfio_ecode_t | wfio::os::beos::errorFromNative (int error) throw () |
Translate a BeOS error code into a WFIO error. More... | |
BeOS Support.
In addition to the POSIX-like and stdio APIs, BeOS provides its own object-oriented API for manipulating I/O streams. This header contains wrapper functions and a subclass of wfio::Device to make interfacing instances of BDataIO with WFIO easier. This header generally contains code that can be used to interface with a BeOS system.
WFIO_CXX_DLL struct wfio_device_t* wfio_beos_devFromBufferIO | ( | BBufferIO * | io, |
int * | error | ||
) |
Open a new device by wrapping a BBufferIO instance.
io | The BBufferIO instance to open. |
error | An optional error indicator. |
WFIO_C_BEGIN WFIO_CXX_DLL struct wfio_device_t* wfio_beos_devFromDataIO | ( | BDataIO * | io, |
int * | error | ||
) |
Open a new device by wrapping a BDataIO instance.
io | The BDataIO instance to open. |
error | An optional error indicator. |
WFIO_CXX_DLL struct wfio_device_t* wfio_beos_devFromPositionIO | ( | BPositionIO * | io, |
int * | error | ||
) |
Open a new device by wrapping a BPositionIO instance.
io | The BPositionIO instance to open. |
error | An optional error indicator. |
WFIO_CXX_DLL enum wfio_ecode_t wfio_beos_errorFromNative | ( | int | ecode | ) |
Translate a BeOS error code into a WFIO error.
This function attempts to translate an error code into its WFIO counterpart. It can operate on either negative or positive error codes; if the error code is positive, then it is converted into its negative counterpart before translation occurs.
ecode | The error code to translate. |