#include <IOIFC.hpp>
Definition at line 76 of file IOIFC.hpp.
◆ ErrorAction
| Enumerator |
|---|
| E_THROW_ON_ERROR | |
| E_RETURN_ON_ERROR | |
Definition at line 111 of file IOIFC.hpp.
◆ ~IOIFC()
| BLOCXX_NAMESPACE::IOIFC::~IOIFC |
( |
| ) |
|
|
virtual |
◆ read()
◆ write()
Write a specified number of bytes to the device that is exposing the IOIFC interface.
- Parameters
-
| dataOut | A pointer to a location in memory that contains the bytes that will be written to the device. |
| dataOutLen | The length of the data pointed to by the dataOut param. |
| errorAsException | If true and an error occurs durring the write operation, then throw an exception. |
- Exceptions
-
| An | exception will be thrown upon an error condition if errorAsException is true.
|
- Returns
- The number of bytes actually written to the device. or -1 on error. If the device is set to nonblocking and the write would block, -1 will be returned and errno will be set to ETIMEDOUT.
Implemented in BLOCXX_NAMESPACE::Socket, BLOCXX_NAMESPACE::SocketBaseImpl, and BLOCXX_NAMESPACE::PosixUnnamedPipe.
Referenced by BLOCXX_NAMESPACE::Exec::processInputOutput().
The documentation for this class was generated from the following files: