Chapter 54. io

The io namespace provides functions that read and write data. You might think that reading and writing binary data is just a matter of using the read(2) and write(2). There are complications however:

The functions in the io namespace transparently handle these complications. Furthermore, in fine C++ fashion, actual errors are converted to integer exceptions whose value is errno at the time the error is detected.

To use the I/O namespace functions, include io.h and link to libdaqshm. Full reference material is in io.